From 9ab517d65bbe24869c2c449a52eb17f572d1ac8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 18 Nov 2018 13:52:53 +0100 Subject: New upstream version 3.24 --- include/libHX/option.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/libHX/option.h') 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 -- cgit v1.2.3