diff options
author | Thomas Haller <thaller@redhat.com> | 2017-04-06 15:26:23 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-04-12 11:24:04 +0200 |
commit | f0d91455ca70db152ed4c27cf3a9b2dd77868a45 (patch) | |
tree | ecaae9edf2e2173eecc698260d18c65e445a7e0a /clients/cli/nmcli.c | |
parent | fdd40b6a6821eaced26a08ca6d2ad731ad506071 (diff) | |
download | NetworkManager-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.c | 2 |
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; |