From 3a3e6095412fc21843e43284d1b5ee71ff136d24 Mon Sep 17 00:00:00 2001 From: Gui Hecheng Date: Tue, 1 Apr 2014 18:01:10 +0800 Subject: [PATCH] btrfs-progs: update manpage for btrfs resize support size unit t/p/e btrfs resize now support size unit parse of k/m/g/t/p/e in kernel space, adopt the changes in userspace manpage. Signed-off-by: Gui Hecheng Signed-off-by: David Sterba --- cmds-filesystem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 306f7154..888e3ece 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -924,10 +924,11 @@ static int cmd_defrag(int argc, char **argv) } static const char * const cmd_resize_usage[] = { - "btrfs filesystem resize [devid:][+/-][gkm]|[devid:]max ", + "btrfs filesystem resize [devid:][+/-][kKmMgGtTpPeE]|[devid:]max ", "Resize a filesystem", "If 'max' is passed, the filesystem will occupy all available space", "on the device 'devid'.", + "[kK] means KiB, which denotes 1KiB = 1024B, 1MiB = 1024KiB, etc.", NULL };