Added -r flag to call generate_index to regenerate the index file
This commit is contained in:
parent
322e3215f4
commit
7d79fa5cc3
@ -28,6 +28,12 @@ while [[ $# -ne 0 ]]; do
|
||||
generate_index
|
||||
break
|
||||
;;
|
||||
|
||||
-r | --regenrate )
|
||||
## This will regnerate index
|
||||
generate_index
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user