File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Usage()
91
91
92
92
exec >&2
93
93
echo " "
94
- echo " Usage: ${progname} <deploy|derby|update|updateQuietly|usage|help>"
94
+ echo " Usage: ${progname} <deploy|derby|update|updateQuietly|usage|help|histzap >"
95
95
echo " ${progname} index [<directory>]"
96
96
echo " "
97
97
echo " Optional environment variables:"
@@ -882,6 +882,15 @@ DerbyServer()
882
882
esac
883
883
}
884
884
885
+ #
886
+ # Clear history index for given project.
887
+ #
888
+ ZapHistory ()
889
+ {
890
+ Progress " Removing history index data for repository ${1} "
891
+ StdInvocation -k " ${1} "
892
+ }
893
+
885
894
#
886
895
# Main Program
887
896
#
@@ -933,6 +942,13 @@ case "${1}" in
933
942
UpdateDescriptionCache
934
943
;;
935
944
945
+ zaphist)
946
+ if [ -z " ${2} " ]; then
947
+ Usage
948
+ fi
949
+ ZapHistory " ${2} "
950
+ ;;
951
+
936
952
usage|help)
937
953
OpenGrokUsage
938
954
Usage
You can’t perform that action at this time.
0 commit comments