summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-08-10 21:45:11 +0200
committerSergei Golubchik <serg@mariadb.org>2015-09-04 10:33:55 +0200
commit21daa7b9298d31ab1c6ddd1159dba29acea8d868 (patch)
tree7fcfa36605879c82f757ad3add0e6184f36487c3 /include/my_getopt.h
parentb85a00161e91080cb82b99e812c18eafb6467737 (diff)
downloadmariadb-git-21daa7b9298d31ab1c6ddd1159dba29acea8d868.tar.gz
MDEV-6066: Merge new defaults from 5.6 and 5.7 (autoset)
--autoset- command line prefix added
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index 499cefd93d6..8c3d2db5cda 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -40,7 +40,8 @@ C_MODE_START
#define GET_FLAGSET 15
#define GET_ASK_ADDR 128
-#define GET_TYPE_MASK 127
+#define GET_AUTO 64
+#define GET_TYPE_MASK 63
/**
Enumeration of the my_option::arg_type attributes.
@@ -100,6 +101,7 @@ typedef void *(*my_getopt_value)(const char *, uint, const struct my_option *,
extern char *disabled_my_option;
+extern char *autoset_my_option;
extern my_bool my_getopt_print_errors;
extern my_bool my_getopt_skip_unknown;
extern my_bool my_getopt_prefix_matching;