diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2015-10-06 17:44:58 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2015-10-07 00:15:25 +0300 |
commit | 7669f0c1bece8f4a344d8e22f7d4969f8f141c10 (patch) | |
tree | 455dc2c8c8a70d161b7b8ed895432d7300ef6d4f | |
parent | c89dcbbd5510876f6304ef10806b00cc9fda19dc (diff) | |
download | bash-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/chronyc | 2 |
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 |