mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Merge pull request #189 from Dikay900/fs_human_readable
cmd_fs: add long parameter --human-readable to usage command
This commit is contained in:
commit
5d892680cf
3
cmd_fs.c
3
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;
|
||||
|
Loading…
Reference in New Issue
Block a user