aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfiles/drupal4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/drupal b/files/drupal
index 00bdb9e..644b776 100755
--- a/files/drupal
+++ b/files/drupal
@@ -222,8 +222,8 @@ function drupal_download {
# Upgrade a drupal instance using upstream source
function drupal_upgrade {
- if [ "$#" != "2" ]; then
- echo "Usage: `basename $0` upgrade <old_version> <new_version>"
+ if [ "$#" != "1" ]; then
+ echo "Usage: `basename $0` upgrade <series|old_version> [new_version]"
exit 1
fi