Add ext4 features to tune2fs -O completions.

This commit is contained in:
Ville Skyttä 2010-10-24 12:42:45 +03:00
parent e225740294
commit 4a69a5a53c

View File

@ -144,8 +144,9 @@ _tune2fs()
return 0 return 0
;; ;;
-O) -O)
local -a opts=(^dir_index ^filetype ^flex_bg ^has_journal local -a opts=(^dir_index ^dir_nlink ^extent ^extra_isize ^filetype
^large_file ^resize_inode ^sparse_super ^uninit_bg) ^flex_bg ^has_journal ^huge_file ^large_file ^resize_inode
^sparse_super ^uninit_bg)
COMPREPLY=( $( compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur" ) ) COMPREPLY=( $( compgen -W '${opts[@]} ${opts[@]#^}' -- "$cur" ) )
return 0 return 0
;; ;;