diff options
author | Jiří Klimeš <blueowl@centrum.cz> | 2016-09-15 03:05:00 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-09-19 17:05:14 +0200 |
commit | a695ed8ad6c3d4547b1756d784b88241109d9eff (patch) | |
tree | 3741ae24aa212fae5c2713a5fd176729cf87580b | |
parent | afb65df37a82a1108c9748984c03af8ac053f773 (diff) | |
download | NetworkManager-a695ed8ad6c3d4547b1756d784b88241109d9eff.tar.gz |
cli: fix yes/no completion in questionnaire mode
(cherry picked from commit 52723bd74303df20cbb95c0c2dceb3a31e5f788e)
-rw-r--r-- | clients/cli/connections.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 41668fb87e..dfd619cc20 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -4635,8 +4635,8 @@ nmcli_con_add_tab_completion (const char *text, int start, int end) { char **match_array = NULL; rl_compentry_func_t *generator_func = NULL; - gs_free char *no = g_strdup_printf (": [%s]", gettext ("no")); - gs_free char *yes = g_strdup_printf (": [%s]", gettext ("yes")); + gs_free char *no = g_strdup_printf ("[%s]: ", gettext ("no")); + gs_free char *yes = g_strdup_printf ("[%s]: ", gettext ("yes")); /* Disable readline's default filename completion */ rl_attempted_completion_over = 1; |