summaryrefslogtreecommitdiff
path: root/clients/cli/nmcli.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-04-06 15:26:23 +0200
committerThomas Haller <thaller@redhat.com>2017-04-12 11:24:04 +0200
commitf0d91455ca70db152ed4c27cf3a9b2dd77868a45 (patch)
treeecaae9edf2e2173eecc698260d18c65e445a7e0a /clients/cli/nmcli.c
parentfdd40b6a6821eaced26a08ca6d2ad731ad506071 (diff)
downloadNetworkManager-f0d91455ca70db152ed4c27cf3a9b2dd77868a45.tar.gz
cli: move show_secret field to NmcConfig
The show-secret property is basically a part of the current configuration, relevant during printing. It will be passed on to nmc_print(), and hence must be part of NmcConfig.
Diffstat (limited to 'clients/cli/nmcli.c')
-rw-r--r--clients/cli/nmcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/nmcli.c b/clients/cli/nmcli.c
index dcb86fe1dc..a341940e32 100644
--- a/clients/cli/nmcli.c
+++ b/clients/cli/nmcli.c
@@ -538,7 +538,7 @@ nmc_init (NmCli *nmc)
nmc->required_fields = NULL;
nmc->ask = FALSE;
nmc->complete = FALSE;
- nmc->show_secrets = FALSE;
+ nmc->nmc_config_mutable.show_secrets = FALSE;
nmc->nmc_config_mutable.use_colors = NMC_USE_COLOR_AUTO;
nmc->nmc_config_mutable.in_editor = FALSE;
nmc->editor_status_line = FALSE;