update parse-list.sh options

This commit is contained in:
Trevor Batley 2023-06-03 17:04:49 +10:00
parent db62df1090
commit d0ceacf5ef

View File

@ -83,13 +83,14 @@ This works whether the repo and local files exist of not (it deletes them if nec
## parse-list.sh ## parse-list.sh
Parse a list of parameters and execute script with those parameters Parse a list of parameters and execute script with those parameters
parse-list.sh <param file> <script> [<noisy> <additional> <additional> <additional>] parse-list.sh <param file|org='organisation> <script> [<local> <noisy> <additional> <additional> <additional>]
* \<param file\> name of file containing parameters * \<param file\|org='organisation'> name of file containing parameters or organisation which will be used to generate a list of all repos for input to <script>
* \<script\> script to run (e.g. rename-e-smith-pkg.sh) * \<script\> script to run (e.g. rename-e-smith-pkg.sh)
optional params can appear in any order optional params can appear in any order
* \<local\> used with org= and will use local GITEA instance, default remote - will be passed to <script>
* \<noisy\> show line being executed * \<noisy\> show line being executed
* \<additional\> additional params to be passed (up to 3) e.g. debug,force,local * \<additional\> additional params to be passed (up to 3) e.g. debug,force,local