summaryrefslogtreecommitdiffstats
path: root/apps/rehash.c
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 08:59:48 -0400
commit7d959c358a09244bcaea601121b276529ff437ce (patch)
treed670e25db89dd51e1feb9233288a800153ed6cc4 /apps/rehash.c
parentdd8710dc54f5123d0fa54b5c90fc2c3a9dae43fe (diff)
Add -h and -help for c_rehash script and app
Resolves GH1515 and GH1509. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/rehash.c')
-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"},