diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:14 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:14 -0300 |
commit | cc81eb120ad1a456f030f7b828697013a9b2b66a (patch) | |
tree | bb61702f98b407b2f7987faa846190fb3f002e55 /completions/tune2fs | |
parent | 8394526300cc384e53c470303aeb8b4fdcaf84a3 (diff) | |
parent | 95623d39d6029ba78ec96ad5ea08e9ac12629b91 (diff) | |
download | bash-completion-cc81eb120ad1a456f030f7b828697013a9b2b66a.tar.gz |
Update upstream source from tag 'upstream/2.11'
Update to upstream version '2.11'
with Debian dir 932c2c1a6192441f3cd8897e72d737f2f0277f60
Diffstat (limited to 'completions/tune2fs')
-rw-r--r-- | completions/tune2fs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/completions/tune2fs b/completions/tune2fs index ab79cd51..66d629c4 100644 --- a/completions/tune2fs +++ b/completions/tune2fs @@ -10,12 +10,12 @@ _tune2fs() return ;; -*e) - COMPREPLY=( $(compgen -W 'continue remount-ro panic' -- "$cur") ) + COMPREPLY=($(compgen -W 'continue remount-ro panic' -- "$cur")) return ;; -*g) _gids - COMPREPLY=( $(compgen -g -W '${COMPREPLY[@]}' -- "$cur") ) + COMPREPLY=($(compgen -g -W '${COMPREPLY[@]}' -- "$cur")) return ;; -*M) @@ -26,7 +26,7 @@ _tune2fs() local -a opts=(^debug ^bsdgroups ^user_xattr ^acl ^uid16 ^journal_data ^journal_data_ordered ^journal_data_writeback ^nobarrier ^block_validity ^discard ^nodelalloc) - COMPREPLY=( $(compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur") ) + COMPREPLY=($(compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur")) return ;; -*O) @@ -34,28 +34,28 @@ _tune2fs() ^filetype ^flex_bg ^has_journal ^huge_file ^large_file ^metadata_csum ^mmp ^project ^quota ^read-only ^resize_inode ^sparse_super ^uninit_bg) - COMPREPLY=( $(compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur") ) + COMPREPLY=($(compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur")) return ;; -*u) _uids - COMPREPLY=( $(compgen -u -W '${COMPREPLY[@]}' -- "$cur") ) + COMPREPLY=($(compgen -u -W '${COMPREPLY[@]}' -- "$cur")) return ;; -*U) - COMPREPLY=( $(compgen -W 'clear random time' -- "$cur") ) + COMPREPLY=($(compgen -W 'clear random time' -- "$cur")) return ;; esac - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '$(_parse_usage "$1")' -- "$cur")) return fi cur=${cur:=/dev/} _filedir } && -complete -F _tune2fs tune2fs + complete -F _tune2fs tune2fs # ex: filetype=sh |