mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 19:00:11 +01:00
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
|
||
|---|---|---|
| .. | ||
| cli | ||
| common | ||
| tui | ||
| nm-online.c | ||