summaryrefslogtreecommitdiff
path: root/include/libHX/option.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-11-18 13:52:53 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-11-18 13:52:53 +0100
commit9ab517d65bbe24869c2c449a52eb17f572d1ac8d (patch)
tree6cf2c7c9298da2de43f058988f14124c0734c10e /include/libHX/option.h
parentd45dd31e35190cf08b1e716e7c3bd1468ddd5d88 (diff)
New upstream version 3.24upstream/3.24
Diffstat (limited to 'include/libHX/option.h')
-rw-r--r--include/libHX/option.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libHX/option.h b/include/libHX/option.h
index d60c3f1..82255d3 100644
--- a/include/libHX/option.h
+++ b/include/libHX/option.h
@@ -254,8 +254,10 @@ extern void HX_shconfig_free(const struct HXoption *);
# define HXOPT_TABLEEND {.type = HXTYPE_XSNTMARK}
#else
# define HXOPT_AUTOHELP \
- {NULL, '?', HXTYPE_XHELP, NULL, NULL, HX_getopt_help_cb, \
- 0, "Show this help message"}
+ {"help", '?', HXTYPE_XHELP, NULL, NULL, HX_getopt_help_cb, \
+ 0, "Show this help message"}, \
+ {"usage", 0, HXTYPE_NONE, NULL, NULL, HX_getopt_usage_cb, \
+ 0, "Display brief usage message"}
# define HXOPT_TABLEEND {NULL, 0, HXTYPE_XSNTMARK}
#endif