aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/drupal.sh.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index 3a10864..85ba71a 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -146,7 +146,7 @@ function drupal_upgrade {
# Main procedure
if [ -z "$1" ]; then
- echo "Usage: `basename $0` <cron|deploy|update|updatedb|upgrade> [arguments]"
+ echo "Usage: `basename $0` <cron|deploy|update|updatedb|upgrade|run> [arguments]"
exit 1
elif [ "$1" == "cron" ]; then
drupal_iterate cron
@@ -162,4 +162,7 @@ elif [ "$1" == "updatedb" ]; then
elif [ "$1" == "upgrade" ]; then
shift
drupal_upgrade $*
+elif [ "$1" == "run" ]; then
+ shift
+ drupal_iterate $*
fi