summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-09-12 11:29:22 -0400
committerRich Salz <rsalz@openssl.org>2016-09-14 09:03:49 -0400
commit1850451676d0f65ef59013750ae942a5d3e7751f (patch)
treeb96973ae946acacfec9e303d45822b0d0aa14855 /apps
parent9496cf577ec4543a6db67092e784c1096a6424fc (diff)
Add -h and -help for c_rehash script and app
Resolves GH1515 and GH1509. Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 7d959c358a09244bcaea601121b276529ff437ce)
Diffstat (limited to 'apps')
-rw-r--r--apps/rehash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/rehash.c b/apps/rehash.c
index aacb169198..4e10ded790 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -403,6 +403,7 @@ OPTIONS rehash_options[] = {
{OPT_HELP_STR, 1, '-', "Usage: %s [options] [cert-directory...]\n"},
{OPT_HELP_STR, 1, '-', "Valid options are:\n"},
{"help", OPT_HELP, '-', "Display this summary"},
+ {"h", OPT_HELP, '-', "Display this summary"},
{"compat", OPT_COMPAT, '-', "Create both new- and old-style hash links"},
{"old", OPT_OLD, '-', "Use old-style hash to generate links"},
{"n", OPT_N, '-', "Do not remove existing links"},