Added -r flag to call generate_index to regenerate the index file

This commit is contained in:
Tristan Ancelet 2023-09-05 21:39:39 -05:00
parent 322e3215f4
commit 7d79fa5cc3

View File

@ -28,6 +28,12 @@ while [[ $# -ne 0 ]]; do
generate_index
break
;;
-r | --regenrate )
## This will regnerate index
generate_index
exit 0
;;
*)
usage
exit 1