summaryrefslogtreecommitdiff
path: root/cmd_device.c
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2018-10-07 18:19:29 +0300
committerKent Overstreet <kent.overstreet@gmail.com>2018-10-08 18:27:14 -0400
commit8c310c8593955054b2091be0970b48bbf5bfa685 (patch)
treebdfaa1b7aa883021d08045d5321ff93648521392 /cmd_device.c
parentebf97e8e01a8e76ff4bec23f29106430852c3081 (diff)
cmd_device: add missing short options to usage
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'cmd_device.c')
-rw-r--r--cmd_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd_device.c b/cmd_device.c
index 428d3047..6ecd0e60 100644
--- a/cmd_device.c
+++ b/cmd_device.c
@@ -25,9 +25,9 @@ static void device_add_usage(void)
"Usage: bcachefs device add [OPTION]... filesystem device\n"
"\n"
"Options:\n"
- " --fs_size=size Size of filesystem on device\n"
- " --bucket=size Bucket size\n"
- " --discard Enable discards\n"
+ " -S, --fs_size=size Size of filesystem on device\n"
+ " -B, --bucket=size Bucket size\n"
+ " -D, --discard Enable discards\n"
" -t, --tier=# Higher tier (e.g. 1) indicates slower devices\n"
" -f, --force Use device even if it appears to already be formatted\n"
" -h, --help Display this help and exit\n"
@@ -117,7 +117,7 @@ static void device_remove_usage(void)
"Options:\n"
" -f, --force Force removal, even if some data\n"
" couldn't be migrated\n"
- " --force-metadata Force removal, even if some metadata\n"
+ " -F, --force-metadata Force removal, even if some metadata\n"
" couldn't be migrated\n"
" -h, --help display this help and exit\n"
"Report bugs to <linux-bcache@vger.kernel.org>");