From 149dcbae2d12587fb687b81e3a1a4631f04db4d7 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 5 Jun 2013 19:27:03 +0200 Subject: hostinfo: add -V and --version to get the version The version is generated from the git-tags during build (setup.py) or during run time, if executed from the git repository. --- 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 4d64f08..ac99866 100644 --- a/contrib/bash-completion +++ b/contrib/bash-completion @@ -50,7 +50,7 @@ _hostinfo() { COMPREPLY=( $( compgen -W "-o --oneline -f --file -k --keys -h -? --help -p --path -n --nospaces -l --hosts -s --short -v --verbose --only-names -d --details - $_completion" -- $cur ) ) + -V --version $_completion" -- $cur ) ) fi } complete -F _hostinfo hostinfo -- cgit v1.2.3-1-g7c22