21 Apr
2011
21 Apr
'11
1:59 p.m.
From: Ivan Kanakarakis <ivan.kanak@gmail.com> If the user provides an unsupported command, inform the user that this switch is unknown, display usage and exit. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> --- scripts/pacman-key.sh.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in index 82268c9..73f4a77 100644 --- a/scripts/pacman-key.sh.in +++ b/scripts/pacman-key.sh.in @@ -321,5 +321,6 @@ case "${command}" in -V|--version) version; exit 0 ;; *) + error "$(gettext "Unknown command:") $command" usage; exit 1 ;; esac -- 1.7.4.4