mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
btrfs-progs: fi usage, change option for tabular output to T
We're going to use -t for tera- units prefix, same as 'fi df' does. Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
24e8629292
commit
8e27f8ee91
@ -848,7 +848,7 @@ const char * const cmd_filesystem_usage_usage[] = {
|
||||
"Show in which disk the chunks are allocated.",
|
||||
"",
|
||||
"-b\tSet byte as unit",
|
||||
"-t\tShow data in tabular format",
|
||||
"-T\tShow data in tabular format",
|
||||
NULL
|
||||
};
|
||||
|
||||
@ -861,7 +861,7 @@ int cmd_filesystem_usage(int argc, char **argv)
|
||||
|
||||
optind = 1;
|
||||
while (1) {
|
||||
int c = getopt(argc, argv, "bt");
|
||||
int c = getopt(argc, argv, "bT");
|
||||
|
||||
if (c < 0)
|
||||
break;
|
||||
@ -870,7 +870,7 @@ int cmd_filesystem_usage(int argc, char **argv)
|
||||
case 'b':
|
||||
mode = UNITS_RAW;
|
||||
break;
|
||||
case 't':
|
||||
case 'T':
|
||||
tabular = 1;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user