mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-05 12:21:40 +00:00
btrfs-progs: define common geopt values for unit suffixes
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
4d13434539
commit
a598348a32
10
utils.h
10
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);
|
||||
|
Loading…
Reference in New Issue
Block a user