diff mbox

btrfs-progs: add info about list-all to the help

Message ID 1433139624-732-1-git-send-email-anand.jain@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Anand Jain June 1, 2015, 6:20 a.m. UTC
mkfs.btrfs -O list-all is a good options to list features,
publish it in the help.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 mkfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Duncan June 1, 2015, 6:52 a.m. UTC | #1
Anand Jain posted on Mon, 01 Jun 2015 14:20:24 +0800 as excerpted:

> mkfs.btrfs -O list-all is a good options to list features,
> publish it in the help.

Definitely useful in the trenches.  Thanks!  =:^)
David Sterba June 1, 2015, 4:58 p.m. UTC | #2
On Mon, Jun 01, 2015 at 02:20:24PM +0800, Anand Jain wrote:
> mkfs.btrfs -O list-all is a good options to list features,
> publish it in the help.
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>

Applied, thanks.
--
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 14e0fed..c16aeb9 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -281,7 +281,7 @@  static void print_usage(void)
 	fprintf(stderr, "\t-s|--sectorsize SIZE    min block allocation (may not mountable by current kernel)\n");
 	fprintf(stderr, "\t-r|--rootdir DIR        the source directory\n");
 	fprintf(stderr, "\t-K|--nodiscard          do not perform whole device TRIM\n");
-	fprintf(stderr, "\t-O|--features LIST      comma separated list of filesystem features\n");
+	fprintf(stderr, "\t-O|--features LIST      comma separated list of filesystem features, use '-O list-all' to list features\n");
 	fprintf(stderr, "\t-U|--uuid UUID          specify the filesystem UUID\n");
 	fprintf(stderr, "\t-V|--version            print the mkfs.btrfs version and exit\n");
 	fprintf(stderr, "%s\n", PACKAGE_STRING);