diff mbox series

[10/11] btrfs-progs: tune: add help for multiple devices and noscan option

Message ID a4689c8cf4a314ef98c104a98fae63a9ea491f72.1686131669.git.anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: btrfstune: accept multiple devices and cleanup | expand

Commit Message

Anand Jain June 7, 2023, 9:59 a.m. UTC
Updates btrfstune --help to carry information about the multiple devices
in the command line argument and about the noscan option.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tune/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tune/main.c b/tune/main.c
index fa49f1685e0f..dd412113ec4c 100644
--- a/tune/main.c
+++ b/tune/main.c
@@ -94,7 +94,7 @@  static int convert_to_fst(struct btrfs_fs_info *fs_info)
 }
 
 static const char * const tune_usage[] = {
-	"btrfstune [options] device",
+	"btrfstune [options] device [device...]",
 	"Tune settings of filesystem features on an unmounted device",
 	"",
 	"Options:",
@@ -117,6 +117,7 @@  static const char * const tune_usage[] = {
 	"",
 	"General:",
 	OPTLINE("-f", "allow dangerous operations, make sure that you are aware of the dangers"),
+	OPTLINE("--noscan", "do not scan the devices from the system, use only the listed ones"),
 	OPTLINE("--help", "print this help"),
 #if EXPERIMENTAL
 	"",