Andrea Bolognani
2016-Jun-16 14:14 UTC
[Libguestfs] [PATCH] builder: Fix description for --long option
--- builder/cmdline.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/cmdline.ml b/builder/cmdline.ml index 7b33013..eee8367 100644 --- a/builder/cmdline.ml +++ b/builder/cmdline.ml @@ -148,7 +148,7 @@ let parse_cmdline () "--gpg", Arg.Set_string gpg, "gpg" ^ " " ^ s_"Set GPG binary/command"; "-l", Arg.Unit list_mode, " " ^ s_"List available templates"; "--list", Arg.Unit list_mode, " " ^ s_"List available templates"; - "--long", Arg.Unit list_set_long, " " ^ s_"Shortcut for --list-format short"; + "--long", Arg.Unit list_set_long, " " ^ s_"Shortcut for --list-format long"; "--list-format", Arg.String list_set_format, "short|long|json" ^ " " ^ s_"Set the format for --list (default: short)"; "--machine-readable", Arg.Set machine_readable, " " ^ s_"Make output machine readable"; -- 2.5.5
Richard W.M. Jones
2016-Jun-16 14:22 UTC
Re: [Libguestfs] [PATCH] builder: Fix description for --long option
On Thu, Jun 16, 2016 at 04:14:58PM +0200, Andrea Bolognani wrote:> --- > builder/cmdline.ml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/builder/cmdline.ml b/builder/cmdline.ml > index 7b33013..eee8367 100644 > --- a/builder/cmdline.ml > +++ b/builder/cmdline.ml > @@ -148,7 +148,7 @@ let parse_cmdline () > "--gpg", Arg.Set_string gpg, "gpg" ^ " " ^ s_"Set GPG binary/command"; > "-l", Arg.Unit list_mode, " " ^ s_"List available templates"; > "--list", Arg.Unit list_mode, " " ^ s_"List available templates"; > - "--long", Arg.Unit list_set_long, " " ^ s_"Shortcut for --list-format short"; > + "--long", Arg.Unit list_set_long, " " ^ s_"Shortcut for --list-format long"; > "--list-format", Arg.String list_set_format, > "short|long|json" ^ " " ^ s_"Set the format for --list (default: short)"; > "--machine-readable", Arg.Set machine_readable, " " ^ s_"Make output machine readable";ACK. I have pushed this, thanks. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Apparently Analagous Threads
- [PATCH 1/3] mllib: Getopt: point to man page as additional help
- [PATCH 3/3] builder: improve the handling of list formats
- [PATCH 0/3] Add JSON output for virt-builder
- [PATCH 2/3] builder: add --list-format
- [PATCH] RFC: OCaml tools: add and use a Getopt module