NetworkManager/cli
Thomas Haller c9cfbae12b cli: make command line parsing check for help option first
Move the checks for nmc_arg_is_help to the beginning of the
checks for command matches.

Up to now, no command begins with 'h', so this has no behavioral
change whatsoever. But imagine a command that begins with 'h'
(for example `nmcli general hostname`), in that case `nmcli general h`
should still show the help, as users might be accustomed to this
abbreviation.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-11-11 15:27:45 +01:00
..
completion cli: add support for 'nmcli dev connect ifname XXX' 2013-10-31 15:45:21 -05:00
src cli: make command line parsing check for help option first 2013-11-11 15:27:45 +01:00
Makefile.am Add bash-completion file for nmcli 2013-02-19 21:20:59 +01:00