NetworkManager/clients/cli
Francesco Giudici ddbb63afeb nmcli: fix 'nmcli con export' parameters check
get_connection() will already move forward arguments (argc/argv):
remove extra argv++/argc--

Example:
"nmcli con export <vpn_con> <output_file> <extra_arg>"
now, extra_arg is detected, printing error:
"Error: unknown extra argument: 'extra_arg'."

(cherry picked from commit 512ed904c6)
2017-04-05 16:39:19 +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 nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
common.h cli: support route options 2017-03-06 15:20:25 +01:00
connections.c nmcli: fix 'nmcli con export' parameters check 2017-04-05 16:39:19 +02:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +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