diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-11 08:25:20 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-11 09:22:00 -0400 |
commit | 1ed774956406941d4812a3fb4493d2915f130f12 (patch) | |
tree | a9f7a8286351c2e94be2ec9a235dc63c105887d1 /shell-completion/zsh/_localectl | |
parent | dc5cd2b77288dc85c82cb95810cd14caee311e7e (diff) |
shell-completion,man: beef up chassis completions and description
Parameters to hostnamectl command are not optional and should not be marked
as such in the man page.
Diffstat (limited to 'shell-completion/zsh/_localectl')
-rw-r--r-- | shell-completion/zsh/_localectl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl index 87432da1dc..d8af4d1863 100644 --- a/shell-completion/zsh/_localectl +++ b/shell-completion/zsh/_localectl @@ -22,8 +22,8 @@ _localectl_set-locale() { _localectl_set-keymap() { local -a _keymaps - _keymaps=( ${(f)"$(_call_program locales "$service" list-keymaps)"} ) if (( CURRENT <= 3 )); then + _keymaps=( ${(f)"$(_call_program locales "$service" list-keymaps)"} ) _describe keymaps _keymaps else _message "no more options" @@ -77,7 +77,7 @@ _localectl_command() { if (( $+functions[_localectl_$cmd] )); then _localectl_$cmd else - _message "no more options" + _message "unknown localectl command: $words[1]" fi fi } |