diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-21 18:02:42 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-01-21 18:13:18 +0100 |
commit | a598348a329b1b0ba3bfa8a3da910f407a4ee4e1 (patch) | |
tree | e392576d26bf4a1d50cf157c16e6b0351754cb93 /utils.h | |
parent | 4d13434539052dcdcc738b68535d5e9bdb116dda (diff) | |
download | btrfs-progs-a598348a329b1b0ba3bfa8a3da910f407a4ee4e1.tar.gz |
btrfs-progs: define common geopt values for unit suffixes
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -41,8 +41,14 @@ #define ARGV0_BUF_SIZE PATH_MAX -#define GETOPT_VAL_SI 256 -#define GETOPT_VAL_IEC 257 +#define GETOPT_VAL_SI 256 +#define GETOPT_VAL_IEC 257 +#define GETOPT_VAL_RAW 258 +#define GETOPT_VAL_HUMAN_READABLE 259 +#define GETOPT_VAL_KBYTES 260 +#define GETOPT_VAL_MBYTES 261 +#define GETOPT_VAL_GBYTES 262 +#define GETOPT_VAL_TBYTES 263 int check_argc_exact(int nargs, int expected); int check_argc_min(int nargs, int expected); |