btrfs-progs: utils: rename helpinfo unit vairables

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2015-11-06 16:39:49 +01:00
parent d64a9ff88e
commit 49e0f3e646
5 changed files with 7 additions and 7 deletions

View File

@ -461,7 +461,7 @@ out:
static const char * const cmd_device_usage_usage[] = {
"btrfs device usage [options] <path> [<path>..]",
"Show detailed information about internal allocations in devices.",
HELPINFO_OUTPUT_UNIT_DF,
HELPINFO_UNITS_SHORT_LONG,
NULL
};

View File

@ -902,7 +902,7 @@ out:
const char * const cmd_filesystem_usage_usage[] = {
"btrfs filesystem usage [options] <path> [<path>..]",
"Show detailed information about internal filesystem usage .",
HELPINFO_OUTPUT_UNIT_DF,
HELPINFO_UNITS_SHORT_LONG,
"-T show data in tabular format",
NULL
};

View File

@ -123,7 +123,7 @@ static const char * const filesystem_cmd_group_usage[] = {
static const char * const cmd_filesystem_df_usage[] = {
"btrfs filesystem df [options] <path>",
"Show space usage information for a mount point",
HELPINFO_OUTPUT_UNIT_DF,
HELPINFO_UNITS_SHORT_LONG,
NULL
};
@ -772,7 +772,7 @@ static const char * const cmd_filesystem_show_usage[] = {
"Show the structure of a filesystem",
"-d|--all-devices show only disks under /dev containing btrfs filesystem",
"-m|--mounted show only mounted btrfs",
HELPINFO_OUTPUT_UNIT,
HELPINFO_UNITS_LONG,
"If no argument is given, structure of all present filesystems is shown.",
NULL
};

View File

@ -271,7 +271,7 @@ static const char * const cmd_qgroup_show_usage[] = {
" (including ancestral qgroups)",
"-f list all qgroups which impact the given path",
" (excluding ancestral qgroups)",
HELPINFO_OUTPUT_UNIT,
HELPINFO_UNITS_LONG,
"--sort=qgroupid,rfer,excl,max_rfer,max_excl",
" list qgroups sorted by specified items",
" you can use '+' or '-' in front of each item.",

View File

@ -247,7 +247,7 @@ int btrfs_check_nodesize(u32 nodesize, u32 sectorsize, u64 features);
const char *get_argv0_buf(void);
#define HELPINFO_OUTPUT_UNIT \
#define HELPINFO_UNITS_LONG \
"--raw raw numbers in bytes", \
"--human-readable human friendly numbers, base 1024 (default)", \
"--iec use 1024 as a base (KiB, MiB, GiB, TiB)", \
@ -257,7 +257,7 @@ const char *get_argv0_buf(void);
"--gbytes show sizes in GiB, or GB with --si", \
"--tbytes show sizes in TiB, or TB with --si"
#define HELPINFO_OUTPUT_UNIT_DF \
#define HELPINFO_UNITS_SHORT_LONG \
"-b|--raw raw numbers in bytes", \
"-h|--human-readable", \
" human friendly numbers, base 1024 (default)", \