path: root/mkfs
diff options
authorDavid Sterba <>2017-12-07 19:56:34 +0100
committerDavid Sterba <>2018-01-08 18:15:24 +0100
commitfab56e8c8460170c9316e86f040352c6e5f8c4b0 (patch)
treea891a9d65426faab79fa654b7a5db50df5b2a849 /mkfs
parent0ba347f315435f8dd6d3158ac82ec104cff443a2 (diff)
btrfs-progs: docs: update manual for mkfs --shrink
Signed-off-by: David Sterba <>
Diffstat (limited to 'mkfs')
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfs/main.c b/mkfs/main.c
index d1b687d3..1a3852e4 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -352,6 +352,7 @@ static void print_usage(int ret)
printf(" creation:\n");
printf("\t-b|--byte-count SIZE set filesystem size to SIZE (on the first device)\n");
printf("\t-r|--rootdir DIR copy files from DIR to the image root directory\n");
+ printf("\t--shrink (with --rootdir) shrink the filled filesystem to minimal size\n");
printf("\t-K|--nodiscard do not perform whole device TRIM\n");
printf("\t-f|--force force overwrite of existing filesystem\n");
printf(" general:\n");