NetworkManager/cli/completion
Thomas Haller ab231cb0d9 cli: improve bash completion by parsing options separately.
To support optimal completion, more context must be considered.
Especially the OPTIONS, which must appear before the OBJECT.
Modify bash completion to try parsing first the options.

Before, whenever you had options, completion did not work
anymore (because the object was expected as first argument).
Moreover, options were also suggested after specifying the
object. This is now mitigated by parsing the command line
in two steps.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-08-28 14:36:49 +02:00
..
Makefile.am Add bash-completion file for nmcli 2013-02-19 21:20:59 +01:00
nmcli cli: improve bash completion by parsing options separately. 2013-08-28 14:36:49 +02:00