Displaying 2 results from an estimated 2 matches for "38b254d".
Did you mean:
38254
2017 Mar 03
0
Re: [PATCH] generator: Allow actions to be deprecated with no replacement.
...t;
> + pr " * Deprecated\n"
The "Deprecated" tag needs a text, so I'd just note to not use it anymore.
> );
> (match version_added f with
> | None -> ()
> diff --git a/generator/OCaml.ml b/generator/OCaml.ml
> index 083e505..38b254d 100644
> --- a/generator/OCaml.ml
> +++ b/generator/OCaml.ml
> @@ -186,10 +186,13 @@ end
> opt
> );
> (match f.deprecated_by with
> - | None -> ()
> - | Some replacement ->
> + | Not_deprecated -> ()
> + | Rep...
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...pr " * Deprecated: In new code, use guestfs_session_%s() instead\n" alt
+ | Deprecated_no_replacement ->
+ pr " * Deprecated\n"
);
(match version_added f with
| None -> ()
diff --git a/generator/OCaml.ml b/generator/OCaml.ml
index 083e505..38b254d 100644
--- a/generator/OCaml.ml
+++ b/generator/OCaml.ml
@@ -186,10 +186,13 @@ end
opt
);
(match f.deprecated_by with
- | None -> ()
- | Some replacement ->
+ | Not_deprecated -> ()
+ | Replaced_by replacement ->
has_tags :=...