From d0d48d32b86ab5f5a5f75074b9b452426b30e7d5 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 17 May 2013 13:46:06 +0200 Subject: hostinfo: add help cmdline parameter --- contrib/bash-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/bash-completion b/contrib/bash-completion index 31bc6f8..0c8fb78 100644 --- a/contrib/bash-completion +++ b/contrib/bash-completion @@ -15,6 +15,6 @@ _hostinfo() { _completion="$(hostinfo --keys $arg 2>/dev/null)" fi - COMPREPLY=( $( compgen -W "-o --oneline -f --file -k --keys $_completion" -- $cur ) ) + COMPREPLY=( $( compgen -W "-o --oneline -f --file -k --keys -h -? --help $_completion" -- $cur ) ) } complete -F _hostinfo hostinfo -- cgit v1.2.3-1-g7c22