All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] made consistent displayed help and manpage with options acepted by bcache
@ 2016-09-02 12:24 Marcin Mirosław
  2016-09-02 12:56 ` [PATCH v2] " Marcin Mirosław
  0 siblings, 1 reply; 9+ messages in thread
From: Marcin Mirosław @ 2016-09-02 12:24 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: linux-bcache

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?

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-09 17:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 12:24 [PATCH] made consistent displayed help and manpage with options acepted by bcache Marcin Mirosław
2016-09-02 12:56 ` [PATCH v2] " Marcin Mirosław
2016-09-04  4:36   ` Kent Overstreet
2016-09-09 13:28     ` [PATCH 1/4] No need to spawn subshell for every source file Marcin Mirosław
2016-09-09 13:28       ` [PATCH 2/4] Make --help and man more consistent Marcin Mirosław
2016-09-09 13:28       ` [PATCH 3/4] Remove unimplemented options from manpage Marcin Mirosław
2016-09-09 13:28       ` [PATCH 4/4] Make output message more human friendly Marcin Mirosław
2016-09-09 15:56         ` Coly Li
2016-09-09 17:49           ` Marcin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.