aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-21 18:02:42 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-21 18:13:18 +0100
commita598348a329b1b0ba3bfa8a3da910f407a4ee4e1 (patch)
treee392576d26bf4a1d50cf157c16e6b0351754cb93 /utils.h
parent4d13434539052dcdcc738b68535d5e9bdb116dda (diff)
downloadbtrfs-progs-a598348a329b1b0ba3bfa8a3da910f407a4ee4e1.tar.gz
btrfs-progs-a598348a329b1b0ba3bfa8a3da910f407a4ee4e1.tar.xz
btrfs-progs-a598348a329b1b0ba3bfa8a3da910f407a4ee4e1.zip
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.h10
1 files 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);