summaryrefslogtreecommitdiff
path: root/completions/tune2fs
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
commit5732da2af736c40cf693354485446ab4867ecb4d (patch)
tree76d76cdfa16ca62d20fb109da13895ec64fff110 /completions/tune2fs
parent9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff)
downloadbash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz
New upstream version 2.9upstream/2.9
Diffstat (limited to 'completions/tune2fs')
-rw-r--r--completions/tune2fs38
1 files changed, 20 insertions, 18 deletions
diff --git a/completions/tune2fs b/completions/tune2fs
index 3695fea1..ab79cd51 100644
--- a/completions/tune2fs
+++ b/completions/tune2fs
@@ -6,48 +6,50 @@ _tune2fs()
_init_completion || return
case $prev in
- -c|-C|-E|-i|-J|-L|-m|-r|-T)
+ -*[cCEiJLmrT])
return
;;
- -e)
- COMPREPLY=( $( compgen -W 'continue remount-ro panic' -- "$cur" ) )
+ -*e)
+ COMPREPLY=( $(compgen -W 'continue remount-ro panic' -- "$cur") )
return
;;
- -g)
+ -*g)
_gids
- COMPREPLY=( $( compgen -g -W '${COMPREPLY[@]}' -- "$cur" ) )
+ COMPREPLY=( $(compgen -g -W '${COMPREPLY[@]}' -- "$cur") )
return
;;
- -M)
+ -*M)
_filedir -d
return
;;
- -o)
+ -*o)
local -a opts=(^debug ^bsdgroups ^user_xattr ^acl ^uid16
- ^journal_data ^journal_data_ordered ^journal_data_writeback)
- COMPREPLY=( $( compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur" ) )
+ ^journal_data ^journal_data_ordered ^journal_data_writeback
+ ^nobarrier ^block_validity ^discard ^nodelalloc)
+ COMPREPLY=( $(compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur") )
return
;;
- -O)
- local -a opts=(^dir_index ^dir_nlink ^extent ^extra_isize ^filetype
- ^flex_bg ^has_journal ^huge_file ^large_file ^resize_inode
+ -*O)
+ local -a opts=(^dir_index ^dir_nlink ^encrypt ^extent ^extra_isize
+ ^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)
+ -*u)
_uids
- COMPREPLY=( $( compgen -u -W '${COMPREPLY[@]}' -- "$cur" ) )
+ COMPREPLY=( $(compgen -u -W '${COMPREPLY[@]}' -- "$cur") )
return
;;
- -U)
- COMPREPLY=( $( compgen -W 'clear random time' -- "$cur" ) )
+ -*U)
+ COMPREPLY=( $(compgen -W 'clear random time' -- "$cur") )
return
;;
esac
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
return
fi