mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-08 10:11:16 +00:00
btrfs-progs: Modify the help string to keep consistent with man page.
Help string of "btrfs dev scan" is inconsistent with man page, which lacks the fact that -d|--all-device is conflict with <device>. This patch fixes the description Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
1d2b8a3f0b
commit
1c1c7caf55
@ -187,9 +187,8 @@ static int cmd_rm_dev(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const char * const cmd_scan_dev_usage[] = {
|
static const char * const cmd_scan_dev_usage[] = {
|
||||||
"btrfs device scan [options] [<device> [<device>...]]",
|
"btrfs device scan [(-d|--all-devices)|<device> [<device>...]]",
|
||||||
"Scan devices for a btrfs filesystem",
|
"Scan devices for a btrfs filesystem",
|
||||||
"-d|--all-devices scan all devices under /dev",
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user