netcf-devel  

Re: [netcf-devel] [PATCH 2/3] ncftool: Have 'ncftool --help' print command list

Cole Robinson
Thu, 04 Feb 2010 12:08:14 -0800

On 02/04/2010 02:46 PM, David Lutterkort wrote:
> I personally hate that behavior - I hate how 'virsh -h' makes you scroll
> back to see what you were really looking for. I'd rather leave that
> behavior as is.
> 

Well, what you were looking for is not necessarily what I was looking for:
every time I run --help, I want to see a command list, not cmdline flags only
(partly because I am used to virsh).

IMO, most people interacting with ncftool are likely going to want a reminder
of the command names before they want a reminder of the command line flags, so
I think it addresses the common case.

We could also add a separate --help-commands option (anything that doesn't
require dropping to the interactive prompt). However I still prefer this patch.

Thanks,
Cole

_______________________________________________
netcf-devel mailing list
netcf-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel