mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-07 00:31:11 +00:00
cli: fix yes/no completion in questionnaire mode
This commit is contained in:
parent
08a74c272b
commit
52723bd743
|
@ -4639,8 +4639,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;
|
||||
|
|
Loading…
Reference in a new issue