Skip to content

Commit 3a4816d

Browse files
author
Vladimir Kotal
committed
fix clear history usage and naming
1 parent fd1de81 commit 3a4816d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

OpenGrok

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ Usage()
9191

9292
exec >&2
9393
echo ""
94-
echo "Usage: ${progname} <deploy|derby|update|updateQuietly|usage|help|histzap>"
94+
echo "Usage: ${progname} <deploy|derby|update|updateQuietly|usage|help>"
9595
echo " ${progname} index [<directory>]"
96+
echo " ${progname} clearHistory [<repository_name>]"
9697
echo ""
9798
echo " Optional environment variables:"
9899
echo " OPENGROK_CONFIGURATION - location of your configuration"
@@ -885,7 +886,7 @@ DerbyServer()
885886
#
886887
# Clear history index for given project.
887888
#
888-
ZapHistory()
889+
ClearHistory()
889890
{
890891
Progress "Removing history index data for repository ${1}"
891892
StdInvocation -k "${1}"
@@ -942,11 +943,11 @@ case "${1}" in
942943
UpdateDescriptionCache
943944
;;
944945

945-
zaphist)
946+
clearHistory)
946947
if [ -z "${2}" ]; then
947948
Usage
948949
fi
949-
ZapHistory "${2}"
950+
ClearHistory "${2}"
950951
;;
951952

952953
usage|help)

0 commit comments

Comments
 (0)