summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Lichvar <mlichvar@redhat.com>2015-10-06 17:44:58 +0200
committerVille Skyttä <ville.skytta@iki.fi>2015-10-07 00:15:25 +0300
commit7669f0c1bece8f4a344d8e22f7d4969f8f141c10 (patch)
tree455dc2c8c8a70d161b7b8ed895432d7300ef6d4f
parentc89dcbbd5510876f6304ef10806b00cc9fda19dc (diff)
downloadbash-completion-7669f0c1bece8f4a344d8e22f7d4969f8f141c10.tar.gz
chronyc: Add -6 option
The chronyc -6 option needs to be listed explicitly as _parse_usage() doesn't pick it from the usage text "[-4|-6]".
-rw-r--r--completions/chronyc2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/chronyc b/completions/chronyc
index 3544c753..c3cfdaaf 100644
--- a/completions/chronyc
+++ b/completions/chronyc
@@ -16,7 +16,7 @@ _chronyc()
esac
if [[ $cur == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '$( _parse_usage "$1" ) -6' -- "$cur" ) )
return
fi