[Bash-completion-commits] [bash-completion] 01/04: chronyc: Add -6 option
Ville Skyttä
scop-guest at moszumanska.debian.org
Tue Oct 6 21:29:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 7669f0c1bece8f4a344d8e22f7d4969f8f141c10
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Tue Oct 6 17:44:58 2015 +0200
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]".
---
completions/chronyc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/completions/chronyc b/completions/chronyc
index 3544c75..c3cfdaa 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list