NetworkManager/cli/src
Jiří Klimeš c1ace1b5b2 cli: support removing items from container-type properties in 'nmcli con modify'
Synopsis:
nmcli con modify -<property>.<setting> <value>

'value' can be empty ("") to remove the whole property value value (in this
case the behaviour is the same as without '-').
Or the 'value' is an index of the item to remove, or an option name (for a few
properties that have option names, like bond.options or ethernet.s390-options).

$ nmcli con mod myeth ipv4.dns "10.0.0.55 10.0.0.66 8.8.8.8 8.8.4.4"
---> ipv4.dns: 10.0.0.55, 10.0.0.66, 8.8.8.8, 8.8.4.4
$ nmcli con mod myeth -ipv4.dns 1
---> ipv4.dns: 10.0.0.55, 8.8.8.8, 8.8.4.4

---> bond.options: mode=balance-rr
$ nmcli con mod bond0 +bond.options "mii=500, downdelay=800"
---> bond.options: downdelay=800,miimon=500,mode=balance-rr
$ nmcli con mod bond0 -bond.options downdelay
---> bond.options: miimon=500,mode=balance-rr
2014-02-28 10:31:41 +01:00
..
common.c trivial: annotate/adjust some code to appease Coverity 2014-01-16 14:23:45 -05:00
common.h cli: allow specifying 'group.name' syntax for '--fields' 2013-12-17 13:51:34 +01:00
connections.c cli: support removing items from container-type properties in 'nmcli con modify' 2014-02-28 10:31:41 +01:00
connections.h cli: reset terminal using libreadline when quitting on signal (bgo #706118) 2013-09-10 11:45:21 +02:00
devices.c cli: fix crash if active connection doesn't have a device (rh #1064333) 2014-02-12 16:31:39 +01:00
devices.h cli: add initial pieces of nmcli 2010-02-25 09:52:30 -08:00
Makefile.am libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
network-manager.c cli: add 'help' for second level commands (bgo #698237) (rh #1034119) 2014-01-09 10:14:03 +01:00
network-manager.h cli: remove obsolete 'nmcli nm' 2013-04-24 10:04:43 +02:00
nmcli.c nmcli: fix some leaks found by valgrind 2013-10-23 22:22:35 -04:00
nmcli.h cli: allow specifying 'group.name' syntax for '--fields' 2013-12-17 13:51:34 +01:00
settings.c replace snprintf by g_snprintf 2014-02-24 21:35:33 +01:00
settings.h cli: show warning when setting band/channel for infra mode (rh #1000096) 2014-02-13 12:22:52 +01:00
utils.c cli: consolidate active and configured connections (rh #997999) 2014-01-23 13:45:46 +01:00
utils.h cli: consolidate active and configured connections (rh #997999) 2014-01-23 13:45:46 +01:00