From ec028b49139db9b8bc9aed47487cb2e299bc1a5e Mon Sep 17 00:00:00 2001 From: Philip Laube Date: Wed, 6 Dec 2023 19:29:05 +0100 Subject: [PATCH] cmd_fs: add long parameter --human-readable to usage command Signed-off-by: Philip Laube --- cmd_fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd_fs.c b/cmd_fs.c index abf7125..a828f39 100644 --- 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 "); } @@ -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; -- 2.39.2