summaryrefslogtreecommitdiff
path: root/clients/cli/nmcli.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-02-27 16:28:28 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2018-02-28 09:32:28 +0100
commitbfebf9d9598186d57eb58b1d7431b90073f10203 (patch)
tree80655f2114867ebe2ec652bd4eff4132291f7782 /clients/cli/nmcli.h
parentd5c4356f61941eff7c795ec44f8eed4e4fd3dc23 (diff)
downloadNetworkManager-bg/nmcli-overview.tar.gz
nmcli: add overview mode to skip default values in outputbg/nmcli-overview
(final name of the option still to be defined) Example: $ nmcli -o connection show wifi-home connection.id: wifi-home connection.uuid: 8308c425-f2a7-4021-9afc-37bde7253c6d connection.type: 802-11-wireless connection.timestamp: 1519264421 connection.permissions: user:bgalvani 802-11-wireless.ssid: home 802-11-wireless.mode: infrastructure 802-11-wireless-security.key-mgmt: wpa-psk 802-11-wireless-security.auth-alg: open ipv4.method: auto ipv6.method: auto https://bugzilla.redhat.com/show_bug.cgi?id=1434527
Diffstat (limited to 'clients/cli/nmcli.h')
-rw-r--r--clients/cli/nmcli.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/cli/nmcli.h b/clients/cli/nmcli.h
index cccad8462a..cbde4359f9 100644
--- a/clients/cli/nmcli.h
+++ b/clients/cli/nmcli.h
@@ -116,6 +116,7 @@ typedef struct _NmcConfig {
bool escape_values; /* Whether to escape ':' and '\' in terse tabular mode */
bool in_editor; /* Whether running the editor - nmcli con edit' */
bool show_secrets; /* Whether to display secrets (both input and output): option '--show-secrets' */
+ bool overview; /* Overview mode (hide default values) */
} NmcConfig;
typedef struct _NmcOutputData {