mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
nmcli: fix missing CONNECTIONS section name from nmcli -f all -m tab dev show <dev>
When a full section is specified as the field parameter in terse tabular mode, the section name should be printed followed by all the field values belonging to that section separated by ':'. The NAME of section CONNECTIONS was missing. sample command: $ nmcli -m tab -t -f CONNECTIONS device show ens3 previous output was: /org/freedesktop/NetworkManager/Settings/{1}:5059XXX-XXXX.. | ens3-dhcp now: CONNECTIONS:/org/freedesktop/NetworkManager/Settings/{1}:5059XXX-XXXX.. | ens3-dhcp
This commit is contained in:
parent
7d96f1f17d
commit
a62b72272f
|
@ -92,8 +92,8 @@ NmcOutputField nmc_fields_dev_show_connections[] = {
|
|||
{"AVAILABLE-CONNECTIONS", N_("AVAILABLE-CONNECTIONS")}, /* 2 */
|
||||
{NULL, NULL}
|
||||
};
|
||||
#define NMC_FIELDS_DEV_SHOW_CONNECTIONS_ALL "AVAILABLE-CONNECTION-PATHS,AVAILABLE-CONNECTIONS"
|
||||
#define NMC_FIELDS_DEV_SHOW_CONNECTIONS_COMMON "AVAILABLE-CONNECTION-PATHS,AVAILABLE-CONNECTIONS"
|
||||
#define NMC_FIELDS_DEV_SHOW_CONNECTIONS_ALL "NAME,AVAILABLE-CONNECTION-PATHS,AVAILABLE-CONNECTIONS"
|
||||
#define NMC_FIELDS_DEV_SHOW_CONNECTIONS_COMMON "NAME,AVAILABLE-CONNECTION-PATHS,AVAILABLE-CONNECTIONS"
|
||||
|
||||
/* Available fields for 'device show' - CAPABILITIES part */
|
||||
NmcOutputField nmc_fields_dev_show_cap[] = {
|
||||
|
|
Loading…
Reference in a new issue