diff options
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 |