diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
commit | 6d88f1055806932d9291f96847d2b691cccda2cd (patch) | |
tree | 0ff79eedaa8a239331256048981deedbd0721965 /completions/ntpdate | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/ntpdate')
-rw-r--r-- | completions/ntpdate | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/ntpdate b/completions/ntpdate index dab38477..ade95a69 100644 --- a/completions/ntpdate +++ b/completions/ntpdate @@ -8,19 +8,19 @@ _ntpdate() case $prev in -k) _filedir - return 0 + return ;; -U) - COMPREPLY=( $( compgen -u "$cur" ) ) - return 0 + COMPREPLY=( $( compgen -u -- "$cur" ) ) + return ;; -p) COMPREPLY=( $( compgen -W '{1..8}' -- "$cur" ) ) - return 0 + return ;; -a|-e|-o|-t) - return 0 + return ;; esac @@ -32,4 +32,4 @@ _ntpdate() } && complete -F _ntpdate ntpdate -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |