summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoverstreet <kent.overstreet@gmail.com>2023-12-06 13:58:01 -0500
committerGitHub <noreply@github.com>2023-12-06 13:58:01 -0500
commit5d892680cf493bef7cbff46676711bda0461612e (patch)
tree0d976f8d3bee6b50057a86b991c0cb23cf93542e
parentcf78a3f65cbe1bd82e89fcfb0b053be26d4a2d62 (diff)
parentec028b49139db9b8bc9aed47487cb2e299bc1a5e (diff)
Merge pull request #189 from Dikay900/fs_human_readable
cmd_fs: add long parameter --human-readable to usage command
-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;