diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-11-18 13:52:53 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-11-18 13:52:53 +0100 |
commit | 9ab517d65bbe24869c2c449a52eb17f572d1ac8d (patch) | |
tree | 6cf2c7c9298da2de43f058988f14124c0734c10e /include/libHX/option.h | |
parent | d45dd31e35190cf08b1e716e7c3bd1468ddd5d88 (diff) |
New upstream version 3.24upstream/3.24
Diffstat (limited to 'include/libHX/option.h')
-rw-r--r-- | include/libHX/option.h | 6 |
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 |