Wanlong Gao
2012-Sep-26 08:36 UTC
[Libguestfs] [PATCH] virt-cat: remove the useless "h" option
"h" option is not enabled in virt-cat, remove it. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- cat/virt-cat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cat/virt-cat.c b/cat/virt-cat.c index 2a6b64f..5ea461e 100644 --- a/cat/virt-cat.c +++ b/cat/virt-cat.c @@ -158,9 +158,6 @@ main (int argc, char *argv[]) OPTION_d; break; - case 'h': - usage (EXIT_SUCCESS); - case 'v': OPTION_v; break; -- 1.7.12.1.401.gb5d156c
Richard W.M. Jones
2012-Sep-26 08:59 UTC
[Libguestfs] [PATCH] virt-cat: remove the useless "h" option
On Wed, Sep 26, 2012 at 04:36:51PM +0800, Wanlong Gao wrote:> "h" option is not enabled in virt-cat, remove it. > > Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> > --- > cat/virt-cat.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/cat/virt-cat.c b/cat/virt-cat.c > index 2a6b64f..5ea461e 100644 > --- a/cat/virt-cat.c > +++ b/cat/virt-cat.c > @@ -158,9 +158,6 @@ main (int argc, char *argv[]) > OPTION_d; > break; > > - case 'h': > - usage (EXIT_SUCCESS); > - > case 'v': > OPTION_v; > break; > -- > 1.7.12.1.401.gb5d156cvirt-edit, virt-inspector and virt-rescue also have useless 'h' options. Obviously a copy/paste error somewhere along the way ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
Apparently Analagous Threads
- [common PATCH] options: add '--blocksize' option for C-based tools
- [common PATCH v2 1/1] options: add '--blocksize' option for C-based tools
- [common PATCH v3 0/1] options: add '--blocksize' option for C-based tools
- [common PATCH v2 0/1] options: add '--blocksize' option for C-based tools
- [PATCH] cat: add -m option