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

Cole Robinson crobinso at redhat.com
Thu Feb 4 20:07:58 UTC 2010


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



More information about the netcf-devel mailing list