From 779028a277894822022396932879b5b19569414c Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 13 Jun 2024 01:56:14 +0200 Subject: [PATCH] btrfs-progs: completion: update mkswapfile, tree-stats and map-swapfile All the three commands need a file, update the completion rules. Signed-off-by: David Sterba --- btrfs-completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btrfs-completion b/btrfs-completion index 1d224087..3ec68e1b 100644 --- a/btrfs-completion +++ b/btrfs-completion @@ -103,7 +103,7 @@ _btrfs() case $cmd in filesystem) case $prev in - du|defragment) + du|defragment|mkswapfile) _filedir return 0 ;; @@ -128,7 +128,7 @@ _btrfs() _btrfs_mnts return 0 ;; - dump-tree|dump-super|rootid|inode-resolve) + dump-tree|dump-super|rootid|inode-resolve|tree-stats|map-swapfile) _filedir return 0 ;;