summaryrefslogtreecommitdiff
path: root/cmd_fs.c
diff options
context:
space:
mode:
authorPhilip Laube <philip.laube.dev@xyz.de>2023-12-06 19:29:05 +0100
committerPhilip Laube <philip.laube.dev@xyz.de>2023-12-06 19:29:05 +0100
commitec028b49139db9b8bc9aed47487cb2e299bc1a5e (patch)
tree0d976f8d3bee6b50057a86b991c0cb23cf93542e /cmd_fs.c
parentcf78a3f65cbe1bd82e89fcfb0b053be26d4a2d62 (diff)
cmd_fs: add long parameter --human-readable to usage command
Signed-off-by: Philip Laube <philip.laube.dev@xyz.de>
Diffstat (limited to 'cmd_fs.c')
-rw-r--r--cmd_fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd_fs.c b/cmd_fs.c
index abf7125c..a828f39b 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 <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;