foreach: ajout de --cc
This commit is contained in:
parent
7e26ae1e0c
commit
8c143e16c3
10
foreach
10
foreach
|
@ -85,7 +85,9 @@ OPTIONS
|
|||
Equivalent à '--ptitle -p */.git --' e.g '$scriptname -G git pull' pour
|
||||
mettre à jour les dépôts situés dans un répertoire
|
||||
-C, --composer-projects
|
||||
Equivalent à '--ptitle -p */composer.json --'"
|
||||
Equivalent à '--ptitle -p */composer.json --'
|
||||
--cc, --composer-cmd
|
||||
Equivalent à '--ptitle -p */composer.phar -- ./composer.phar'"
|
||||
}
|
||||
|
||||
basedir=
|
||||
|
@ -111,6 +113,7 @@ args=(+
|
|||
--nt, --no-title title=
|
||||
-G,--git-projects shortcut=git
|
||||
-C,--composer-projects shortcut=composer
|
||||
--cc,--composer-cmd shortcut=composer-cmd
|
||||
)
|
||||
parse_args "$@"; set -- "${args[@]}"
|
||||
|
||||
|
@ -125,6 +128,11 @@ composer)
|
|||
parentdir=1
|
||||
[ "$title" == auto ] && title=p
|
||||
;;
|
||||
composer-cmd)
|
||||
set -- */composer.phar -- ./composer.phar "$@"
|
||||
parentdir=1
|
||||
[ "$title" == auto ] && title=p
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$match" == auto ]; then
|
||||
|
|
Loading…
Reference in New Issue