search for: print_version_and_exit

Displaying 20 results from an estimated 32 matches for "print_version_and_exit".

2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...o not fsync output file on exit"; - "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; - "--verbose", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; - "-V", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "--version", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "-x", Arg.Uni...
2016 May 03
1
[PATCH] mllib: add "internal" to the description of --{short, long}-options
...s"; + "--short-options", Arg.Unit display_short_options, " " ^ s_"List short options (internal)"; + "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options (internal)"; "-V", Arg.Unit print_version_and_exit, " " ^ s_"Display version and exit"; "--version", Arg.Unit print_version_and_exit, -- 2.5.5
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring. https://bugzilla.redhat.com/show_bug.cgi?id=1167623 Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2019 Dec 16
2
[v2v PATCH] build: add --with-extra configure parameter
Borrow this feature from libguestfs, so it is possible to "watermark" the virt-v2v executable with a extra string to the version string. --- configure.ac | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 00246f29..e2418564 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,14 @@ # along with this
2015 Sep 01
3
[PATCH 1/3] mllib: make few command line options stuff private
Make print_version_and_exit, long_options, display_short_options, and display_long_options private, as set_standard_options now takes care of handling the job for the common command line options. --- mllib/common_utils.mli | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mllib/common_utils.mli b/mllib/common_ut...
2015 Sep 01
1
Re: [PATCH 2/2] mllib: set --debug-gc as common option
On Mon, Aug 31, 2015 at 06:49:55PM +0200, Pino Toscano wrote: > Move --debug-gc as common option for all the OCaml-based tools, even a > couple of them which didn't have it previously. > > As implementation note, make set_debug_gc private to > set_standard_options, as it needed to be moved otherwise, and it is no > more required as public function. ACK series. I guess
2019 Dec 16
0
Re: [v2v PATCH] build: add --with-extra configure parameter
..._CONDITIONAL([HAVE_PYTHON],[false]) dnl Disables a test > -AC_DEFINE_UNQUOTED([PACKAGE_VERSION_FULL],["$PACKAGE_VERSION"],[Version string.]) > -AC_SUBST([PACKAGE_VERSION_FULL], [$PACKAGE_VERSION]) > Sure ACK. I guess ‘virt-v2v --version’ now prints the extra field because of print_version_and_exit in common/mltools/tools_utils.ml? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. htt...
2015 Jun 11
2
[PATCH] (Almost) new tool: virt-get-kernel
...t directory"; + "--output", Arg.Set_string output, ditto; + "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; + "--verbose", Arg.Unit set_verbose, ditto; + "-V", Arg.Unit print_version_and_exit, + " " ^ s_"Display version and exit"; + "--version", Arg.Unit print_version_and_exit, ditto; + "-x", Arg.Unit set_trace, " " ^ s_"Enable tracing of libguestfs calls"; +...
2015 Jun 12
0
[PATCH 2/3] get-kernel: add --unversioned-names
..." " ^ s_"Use unversioned names for files"; "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; "--verbose", Arg.Unit set_verbose, ditto; "-V", Arg.Unit print_version_and_exit, @@ -116,8 +119,9 @@ read the man page virt-get-kernel(1). (* Dereference the rest of the args. *) let output = match !output with "" -> None | str -> Some str in + let unversioned = !unversioned in - add, output in + add, output, unversioned in (* Connec...
2015 Jun 12
1
[PATCH 3/3] get-kernel: add --prefix
...t_prefix, "prefix" ^ " " ^ s_"Prefix for files"; "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; "--verbose", Arg.Unit set_verbose, ditto; "-V", Arg.Unit print_version_and_exit, @@ -120,8 +126,9 @@ read the man page virt-get-kernel(1). (* Dereference the rest of the args. *) let output = match !output with "" -> None | str -> Some str in let unversioned = !unversioned in + let prefix = !prefix in - add, output, unversioned in + ad...
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
..."Enable debugging messages"; + "-v", Arg.Bool set_verbose, " " ^ s_"Enable debugging messages"; + "--verbose", Arg.Bool set_verbose, " " ^ s_"Enable debugging messages"; "-V", Arg.Unit print_version_and_exit, " " ^ s_"Display version and exit"; "--version", Arg.Unit print_version_and_exit, " " ^ s_"Display version and exit"; - "-x", Arg.Set...
2018 Aug 21
0
[PATCH 2/2] OCaml tools: add output selection for --machine-readable
...chine-readable: %s") fmt in + machine_readable_output := Channel chan + | n -> + error (f_"invalid output for --machine-readable: %s") fmt + ); + set_machine_readable () + in let argspec = [ [ S 'V'; L"version" ], Getopt.Unit print_version_and_exit, s_"Display version and exit"; [ S 'v'; L"verbose" ], Getopt.Unit set_verbose, s_"Enable libguestfs debugging messages"; @@ -252,7 +302,7 @@ let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_read else []) @ (if mach...
2016 Jul 15
5
[PATCH 0/3] mllib: Various fixes and changes to Getopt module.
The second patch is obviously not complete yet - for discussion only. Rich.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
..."--short-options", Arg.Unit display_short_options, " " ^ s_"List short options (internal)"; > - "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options (internal)"; > - "-V", Arg.Unit print_version_and_exit, > - " " ^ s_"Display version and exit"; > - "--version", Arg.Unit print_version_and_exit, > - " " ^ s_"Display version and exit"; > - &...
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...ttext +open Getopt.OptionName module Char = struct include Char @@ -571,13 +572,13 @@ let create_standard_options argspec ?anon_fun usage_msg = let set_debug_gc () = at_exit (fun () -> Gc.compact()) in let argspec = [ - [ "-V"; "--version" ], Getopt.Unit print_version_and_exit, s_"Display version and exit"; - [ "-v"; "--verbose" ], Getopt.Unit set_verbose, s_"Enable libguestfs debugging messages"; - [ "-x" ], Getopt.Unit set_trace, s_"Enable tracing of libguestfs calls"; - [ "--deb...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...spec = [ - "--short-options", Arg.Unit display_short_options, " " ^ s_"List short options (internal)"; - "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options (internal)"; - "-V", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "--version", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "-v",...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...spec = [ - "--short-options", Arg.Unit display_short_options, " " ^ s_"List short options (internal)"; - "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options (internal)"; - "-V", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "--version", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "-v",...
2015 Oct 29
7
[PATCH 0/7] v2v: Miscellaneous refactorings.
Just refactoring. Rich.
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...spec = [ - "--short-options", Arg.Unit display_short_options, " " ^ s_"List short options (internal)"; - "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options (internal)"; - "-V", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "--version", Arg.Unit print_version_and_exit, - " " ^ s_"Display version and exit"; - "-v",...