Re: [PATCH v2] made consistent displayed help and manpage with options acepted by bcache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 02.09.2016 o 14:24, Marcin Mirosław pisze:
Hi!

This patch fix misleading in name of options in manpage and displayed
help. But still remains in manpage unimplemented options like "stats" or
"status". I don't kno how to handle it, remove?

I'm resending patch due to bad formating.

diff --git a/bcache-format.c b/bcache-format.c
index 1b20b55..d71ae68 100644
--- a/bcache-format.c
+++ b/bcache-format.c
@@ -75,16 +75,16 @@ static void usage(void)
             "Usage: bcache format [OPTION]... <devices>\n"
             "\n"
             "Options:\n"
-            "  -b, --block=size\n"
-            "      --btree_node=size       Btree node size, default 256k\n"
+            "  -b, --block=size      default 4k\n"
+            "      --btree_node_size=size       Btree node size,
default 256k\n"
             "      --metadata_checksum_type=(none|crc32c|crc64)\n"
             "      --data_checksum_type=(none|crc32c|crc64)\n"
             "      --compression_type=(none|lz4|gzip)\n"
             "      --encrypted\n"
             "      --error_action=(continue|readonly|panic)\n"
             "                              Action to take on filesystem
error\n"
-            "  -l, --label=label\n"
-            "      --uuid=uuid\n"
+            "  -L, --label=label\n"
+            "  -U, --uuid=uuid\n"
             "  -f, --force\n"
             "\n"
             "Device specific options:\n"
diff --git a/bcache.8 b/bcache.8
index 7671cf3..5092f00 100644
--- a/bcache.8
+++ b/bcache.8
@@ -64,9 +64,9 @@ List the bcache commands
 .SH Global options:
 .TP
 .BR \-w,\ --block=
-block size, in bytes (e.g. 4k)
+block size, in bytes (e.g. 4096) - default 4k
 .TP
-.BR \-w,\ --btree_node_size=
+.BR \--btree_node_size=
 btree node size in bytes - default 256k
 .TP
 .BR \--metadata_checksum_type=TYPE
@@ -83,10 +83,10 @@ Enable encryption; passphrase will be prompted for
 .BR \--error_action=TYPE
 where TYPE is one of continue, readonly (default) or panic
 .TP
-.BR \-l\ --label=LABEL
+.BR \-L\ --label=LABEL
 Create the filesystem with the specified label
 .TP
-.BR \--uuid=UUID
+.BR \-U\ --uuid=UUID
 Create the filesystem with the specified UUID
 .TP
 .BR \--force
@@ -98,7 +98,7 @@ filesystem
 .BR \--fs_size=SIZE
 Create the filesystem using SIZE bytes on the subsequent device
 .TP
-.BR \-b\ --bucket-size=SIZE
+.BR \--bucket-size=SIZE
 Specifies the bucket size - must be greater than the btree node size
 .TP
 .BR \-t,\ --tier=INDEX


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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux