From a598348a329b1b0ba3bfa8a3da910f407a4ee4e1 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 21 Jan 2015 18:02:42 +0100 Subject: [PATCH] btrfs-progs: define common geopt values for unit suffixes Signed-off-by: David Sterba --- utils.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/utils.h b/utils.h index 88c3a64..82ab5e8 100644 --- a/utils.h +++ b/utils.h @@ -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); -- 2.7.4