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:53:07 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-11-18 13:53:07 +0100
commit8e408b48ca51b25f2e80cbaf1cec5856c5b087eb (patch)
treed271caf192414f80b30df39e827bd14e2e083eb0 /include/libHX/option.h
parentec30c5e79707dfb6a52b0e5f7dd476374888e89c (diff)
parent21fcced971129ae4fbf9c9de3cfdec4cf96a46cf (diff)
Merge branch 'feature/upstream' into develop
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