Skip to content

Commit f75dd79

Browse files
ddisskdave
authored andcommitted
btrfs-progs: completion: include files in "du" completion
Currently "btrfs filesystem du" auto-completes for directories only, but it can also be used against files to determine shared vs exclusive extents. Signed-off-by: David Disseldorp <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent d7f2ee3 commit f75dd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: btrfs-completion

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ _btrfs()
103103
case $cmd in
104104
filesystem)
105105
case $prev in
106-
defragment)
106+
du|defragment)
107107
_filedir
108108
return 0
109109
;;

0 commit comments

Comments
 (0)