cli: prefer 'modify' over 'monitor' when the command is abbreviated
authorBeniamino Galvani <bgalvani@redhat.com>
Thu, 10 Mar 2016 09:18:41 +0000 (10:18 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Thu, 10 Mar 2016 10:12:02 +0000 (11:12 +0100)
commitf0c6a0315df752dddc21a8daa5282e91b5e499cc
tree5ed57d27862df5a23df69c803772c49592d3d596
parent551c5de120ccde066ce4301dbee258b17406dafa
cli: prefer 'modify' over 'monitor' when the command is abbreviated

In previous releases 'nmcli connection m' was interpreted as 'modify',
but recently the monitor command was introduced with a higher
priority, changing the behavior when the abbreviated form is
used.

Restore the old behavior.

https://bugzilla.redhat.com/show_bug.cgi?id=1316120
clients/cli/connections.c
clients/cli/nmcli-completion