diff options
Diffstat (limited to 'clients/cli/general.c')
-rw-r--r-- | clients/cli/general.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/general.c b/clients/cli/general.c index e1d0871ed6..3ffad8416c 100644 --- a/clients/cli/general.c +++ b/clients/cli/general.c @@ -786,8 +786,8 @@ nmc_switch_show (NmCli *nmc, const char *switch_name, const char *header) nmc->return_value = NMC_RESULT_ERROR_USER_INPUT; return FALSE; } - if (nmc->print_output == NMC_PRINT_NORMAL) - nmc->print_output = NMC_PRINT_TERSE; + if (nmc->nmc_config.print_output == NMC_PRINT_NORMAL) + nmc->nmc_config_mutable.print_output = NMC_PRINT_TERSE; if (!nmc->required_fields) nmc->required_fields = g_strdup (switch_name); |