path: root/mkfs.c
diff options
authorShen Feng <>2009-01-07 14:57:12 -0500
committerChris Mason <>2009-01-07 14:57:12 -0500
commit238fdcca20d09ab29bb55832dfae35889af4269b (patch)
tree0df3143696f52db17a68b4e6b0dc5b4848affeb7 /mkfs.c
parentf7f0e8567f9a50546881ee66f70689df694ebabf (diff)
Fix mkfs.btrfs usage help to match the current args
Signed-off-by: Shen Feng <>
Diffstat (limited to 'mkfs.c')
1 files changed, 5 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index 76d3a591..cb21db63 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -263,9 +263,13 @@ static void print_usage(void)
fprintf(stderr, "usage: mkfs.btrfs [options] dev [ dev ... ]\n");
fprintf(stderr, "options:\n");
+ fprintf(stderr, "\t -A --alloc-start the offset to start the FS\n");
fprintf(stderr, "\t -b --byte-count total number of bytes in the FS\n");
+ fprintf(stderr, "\t -d --data data profile, raid0, raid1, raid10 or single\n");
fprintf(stderr, "\t -l --leafsize size of btree leaves\n");
- fprintf(stderr, "\t -n --nodesize size of btree leaves\n");
+ fprintf(stderr, "\t -L --label set a label\n");
+ fprintf(stderr, "\t -m --metadata metadata profile, values like data profile\n");
+ fprintf(stderr, "\t -n --nodesize size of btree nodes\n");
fprintf(stderr, "\t -s --sectorsize min block allocation\n");
fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION);