]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
cmd_fs: add long parameter --human-readable to usage command
authorPhilip Laube <philip.laube.dev@xyz.de>
Wed, 6 Dec 2023 18:29:05 +0000 (19:29 +0100)
committerPhilip Laube <philip.laube.dev@xyz.de>
Wed, 6 Dec 2023 18:29:05 +0000 (19:29 +0100)
Signed-off-by: Philip Laube <philip.laube.dev@xyz.de>
cmd_fs.c

index abf7125cd26296107c376cea8c793db1ec9de8c9..a828f39b7c1b172f5e94bced46959292de8a05c7 100644 (file)
--- a/cmd_fs.c
+++ b/cmd_fs.c
@@ -290,7 +290,7 @@ static void fs_usage_usage(void)
             "\n"
             "Options:\n"
             "  -h, --human-readable              Human readable units\n"
-            "      --help                        Display this help and exit\n"
+            "  -H, --help                        Display this help and exit\n"
             "Report bugs to <linux-bcachefs@vger.kernel.org>");
 }
 
@@ -298,6 +298,7 @@ int cmd_fs_usage(int argc, char *argv[])
 {
        static const struct option longopts[] = {
                { "help",               no_argument,            NULL, 'H' },
+               { "human-readable",     no_argument,            NULL, 'h' },
                { NULL }
        };
        bool human_readable = false;