[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [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 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

virt-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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]