summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-11 00:04:19 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-11 00:23:30 +0200
commit4647ab887a592516841f74fa47586771bbcad81b (patch)
tree7cacc6dd3fd1d6c8322e9866fcf026a0c623a63a /utils.h
parent250a58f34d57588de8f0b2f118cb5cd152744158 (diff)
downloadbtrfs-progs-4647ab887a592516841f74fa47586771bbcad81b.tar.gz
btrfs-progs: accept --help as option in the standalone utilities
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index e771482..50d1853 100644
--- a/utils.h
+++ b/utils.h
@@ -69,6 +69,8 @@
#define GETOPT_VAL_GBYTES 262
#define GETOPT_VAL_TBYTES 263
+#define GETOPT_VAL_HELP 270
+
int check_argc_exact(int nargs, int expected);
int check_argc_min(int nargs, int expected);
int check_argc_max(int nargs, int expected);