mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 09:00:48 +02:00
cli: use color names when TAB-completing "nmcli prompt-color"
This commit is contained in:
parent
3641ddb00a
commit
631f5b1e5c
1 changed files with 2 additions and 1 deletions
|
|
@ -5939,7 +5939,8 @@ gen_cmd_nmcli (const char *text, int state)
|
|||
static char *
|
||||
gen_cmd_nmcli_prompt_color (const char *text, int state)
|
||||
{
|
||||
const char *words[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", NULL };
|
||||
const char *words[] = { "normal", "black", "red", "green", "yellow",
|
||||
"blue", "magenta", "cyan", "white", NULL };
|
||||
return nmc_rl_gen_func_basic (text, state, words);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue