Skip to content

Commit

Permalink
Use GETOPT for the command line scripts #326: index script
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Nov 6, 2023
1 parent cb00b68 commit eea14e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ if [[ $HELP -eq 1 ]]; then
show_usage
fi

if [[ $DO_STATUS -eq 1 ]]; then
status
exit 0;
fi

if [[ "${SOLR_URL}" == "" ]]; then
SOLR_URL="${SOLR_HOST}/solr/${CORE}"
PARAMS="${PARAMS} --solrUrl ${SOLR_URL}"
Expand Down

0 comments on commit eea14e9

Please sign in to comment.