diff mbox

btrfs-progs: output raid[56] options in mkfs.btrfs

Message ID 1362947413-3576-1-git-send-email-m@bjorling.me (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Matias Bjørling March 10, 2013, 8:30 p.m. UTC
This patch adds the raid[56] options to the output of mkfs.btrfs help.
---
 mkfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba March 12, 2013, 3:25 p.m. UTC | #1
On Sun, Mar 10, 2013 at 09:30:13PM +0100, Matias Bjørling wrote:
> This patch adds the raid[56] options to the output of mkfs.btrfs help.

Thanks, there was a patch for that in my branch already. Please don't
forget to add your signed-off-by line.

david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/mkfs.c b/mkfs.c
index 5ece186..f9f26a5 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -326,7 +326,7 @@  static void print_usage(void)
 	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, dup or single\n");
+	fprintf(stderr, "\t -d --data data profile, raid0, raid1, raid5, raid6, raid10, dup or single\n");
 	fprintf(stderr, "\t -l --leafsize 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");