summaryrefslogtreecommitdiff
path: root/include/libHX/option.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-12-21 20:04:53 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-12-21 20:04:53 +0100
commit41aba5755c9fa6082aec99c4fec6c571f8e5062a (patch)
treeee8f99d7b3f87cffd163a2a994f8be5e49dd0cf2 /include/libHX/option.h
parent91a64d5ccfd724eda5826b6f02704600a956e12e (diff)
parentb123453ef809983c17c1438410a13f799b42e5f9 (diff)
Merge branch 'release/debian/3.24-1'debian/3.24-1
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