btrfs-progs: completion: add recently added commands
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
90548b8295
commit
1c6c2c2159
|
@ -24,7 +24,7 @@ _btrfs()
|
||||||
|
|
||||||
commands='subvolume filesystem balance device scrub check rescue restore inspect-internal property send receive quota qgroup replace help version'
|
commands='subvolume filesystem balance device scrub check rescue restore inspect-internal property send receive quota qgroup replace help version'
|
||||||
commands_subvolume='create delete list snapshot find-new get-default set-default show sync'
|
commands_subvolume='create delete list snapshot find-new get-default set-default show sync'
|
||||||
commands_filesystem='defragment sync resize show df du label usage'
|
commands_filesystem='defragment sync resize show df du label usage mkswapfile'
|
||||||
commands_balance='start pause cancel resume status'
|
commands_balance='start pause cancel resume status'
|
||||||
commands_device='scan add delete remove ready stats usage'
|
commands_device='scan add delete remove ready stats usage'
|
||||||
commands_scrub='start cancel resume status'
|
commands_scrub='start cancel resume status'
|
||||||
|
@ -32,7 +32,7 @@ _btrfs()
|
||||||
commands_inspect_internal='inode-resolve logical-resolve subvolid-resolve rootid min-dev-size dump-tree dump-super tree-stats'
|
commands_inspect_internal='inode-resolve logical-resolve subvolid-resolve rootid min-dev-size dump-tree dump-super tree-stats'
|
||||||
commands_property='get set list'
|
commands_property='get set list'
|
||||||
commands_quota='enable disable rescan'
|
commands_quota='enable disable rescan'
|
||||||
commands_qgroup='assign remove create destroy show limit'
|
commands_qgroup='assign remove create destroy show limit clear-stale'
|
||||||
commands_replace='start status cancel'
|
commands_replace='start status cancel'
|
||||||
|
|
||||||
if [[ "$cur" == -* && $cword -le 3 && "$cmd" != "help" ]]; then
|
if [[ "$cur" == -* && $cword -le 3 && "$cmd" != "help" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue