tidy up parameter descriptions and add example

This commit is contained in:
Trevor Batley
2023-06-04 10:44:39 +10:00
parent 61f97c908e
commit 277035cf55
2 changed files with 18 additions and 6 deletions

View File

@@ -17,9 +17,11 @@ fi
# parse the command line parameters
PROCESSORG=
EXTRAPARAMS=
if [[ $1 == org=* ]] ; then
# using a list of the repos in this organisatoin as input
PROCESSORG=${1#*=}
EXTRAPARAMS=$PROCESSORG # add the org as the first additional param
# Get the ini file and relevant parameters - only needed for org processing
inifilename=$(echo ~)"/.smegit/config"
if [ ! -e $inifilename ] ; then
@@ -59,7 +61,6 @@ fi
REVIEW=
NOISY=
EXTRAPARAMS=
GITEAHOST=${remote_GITEAHOST}
ACCESSTOKEN=${remote_GITEAACCESSTOKEN}
for param in $3 $4 $5 $6; do