diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-05 19:27:03 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-05 20:04:29 +0200 |
commit | 149dcbae2d12587fb687b81e3a1a4631f04db4d7 (patch) | |
tree | 95633022329108c836363148ef95df4cadeab109 /contrib/bash-completion | |
parent | f77799678c6132f6a8db16faa2f9c72771c017f3 (diff) | |
download | tools-0.2.0.tar.gz tools-0.2.0.tar.bz2 tools-0.2.0.zip |
hostinfo: add -V and --version to get the version0.2.0
The version is generated from the git-tags during build (setup.py) or
during run time, if executed from the git repository.
Diffstat (limited to 'contrib/bash-completion')
-rw-r--r-- | contrib/bash-completion | 2 |
1 files changed, 1 insertions, 1 deletions
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 |