btrfs-progs: add info about list-all to the help
authorAnand Jain <anand.jain@oracle.com>
Mon, 1 Jun 2015 06:20:24 +0000 (14:20 +0800)
committerDavid Sterba <dsterba@suse.cz>
Mon, 1 Jun 2015 16:57:45 +0000 (18:57 +0200)
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>
Signed-off-by: David Sterba <dsterba@suse.cz>
mkfs.c

diff --git a/mkfs.c b/mkfs.c
index 14e0fed..c16aeb9 100644 (file)
--- 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);