diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-11-18 13:52:55 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-11-18 13:52:55 +0100 |
commit | 21fcced971129ae4fbf9c9de3cfdec4cf96a46cf (patch) | |
tree | d271caf192414f80b30df39e827bd14e2e083eb0 /include/libHX/option.h | |
parent | ec30c5e79707dfb6a52b0e5f7dd476374888e89c (diff) | |
parent | 9ab517d65bbe24869c2c449a52eb17f572d1ac8d (diff) |
Update upstream source from tag 'upstream/3.24'
Update to upstream version '3.24'
with Debian dir 0a6e08a83f1f2a2aa8e726c19c24ed27cb08f134
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 |