NetworkManager/clients/cli
Beniamino Galvani 492bdea3f2 clients: print expected route syntax on parsing failure
Now that routes can include optional attributes, print the expected
syntax in case of parsing failure.

 $ nmcli connection modify dummy ipv4.routes a
 Error: failed to modify ipv4.routes: invalid route: Invalid IPv4
 address 'a'. The valid syntax is: 'ip[/prefix] [next-hop] [metric]
 [attribute=val]... [,ip[/prefix] ...]'.

(cherry picked from commit 00df57a066)
2017-05-08 10:42:05 +02:00
..
agent.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c clients: print expected route syntax on parsing failure 2017-05-08 10:42:05 +02:00
common.h cli: support route options 2017-03-06 15:20:25 +01:00
connections.c nmcli: fix access to memeber nmc->show_secret 2017-04-20 14:41:08 +02:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c all: detect SR-IOV device support 2017-04-19 08:49:37 +02:00
devices.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
general.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
nmcli.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
polkit-agent.c all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c nmcli: always print "--" for empty or unset values in normal/pretty output 2017-03-28 10:55:00 +02:00
settings.h cli: support dummy connections 2017-02-22 21:05:04 +01:00
utils.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
utils.h nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00