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/quota | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/quota')
-rw-r--r-- | completions/quota | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/completions/quota b/completions/quota index 626a3802..c1604f8e 100644 --- a/completions/quota +++ b/completions/quota @@ -8,7 +8,7 @@ _user_or_group() for (( i=1; i < cword; i++ )); do if [[ "${words[i]}" == -@(g|-group) ]]; then COMPREPLY=( $( compgen -g -- "$cur" ) ) - return 0 + return fi done @@ -45,14 +45,14 @@ _quota() case $prev in -F|--format) _quota_formats - return 0 + return ;; -h|--help|-V|--version) - return 0 + return ;; esac - $split && return 0 + $split && return if [[ "$cur" == -* ]]; then _quota_parse_help "$1" @@ -70,18 +70,18 @@ _setquota() case $prev in -F|--format) _quota_formats - return 0 + return ;; -p|--prototype) _user_or_group - return 0 + return ;; -h|--help|-V|--version) - return 0 + return ;; esac - $split && return 0 + $split && return if [[ "$cur" == -* ]]; then _quota_parse_help "$1" @@ -110,22 +110,22 @@ _edquota() case $prev in -F|--format) _quota_formats - return 0 + return ;; -f|--filesystem) _filesystems - return 0 + return ;; -p|--prototype) _user_or_group - return 0 + return ;; -h|--help|-V|--version) - return 0 + return ;; esac - $split && return 0 + $split && return if [[ "$cur" == -* ]]; then _quota_parse_help "$1" @@ -143,14 +143,14 @@ _quotacheck() case $prev in -F|--format) _quota_formats - return 0 + return ;; -h|--help|-V|--version) - return 0 + return ;; esac - $split && return 0 + $split && return if [[ "$cur" == -* ]]; then _quota_parse_help "$1" @@ -168,18 +168,18 @@ _quotaon() case $prev in -F|--format) _quota_formats - return 0 + return ;; -x|--xfs-command) COMPREPLY=( $( compgen -W 'delete enforce' -- "$cur" ) ) - return 0 + return ;; -h|--help|-V|--version) - return 0 + return ;; esac - $split && return 0 + $split && return if [[ "$cur" == -* ]]; then _quota_parse_help "$1" @@ -189,4 +189,4 @@ _quotaon() } && complete -F _quotaon -o default quotaon quotaoff -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |