btrfs-progs: device scan: update help text

The two modes should be displayed separately for clarity.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-03-01 14:02:10 +01:00
parent 6d3458dcfd
commit 02f096fb20
1 changed files with 2 additions and 2 deletions

View File

@ -275,8 +275,8 @@ static int btrfs_forget_devices(const char *path)
}
static const char * const cmd_device_scan_usage[] = {
"btrfs device scan [(-d|--all-devices)|(-u|--forget)|<device> "\
"[<device>...]]",
"btrfs device scan [-d|--all-devices] <device> [<device>...]\n"
"btrfs device scan -u|--forget [<device>...]",
"Scan or forget (deregister) devices for a btrfs filesystem",
" -d|--all-devices (deprecated)",
" -u|--forget [<device> ..]",