From 455e18c686bf15e464f176d3d7b8d11e6cefefbc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Feb 2008 20:09:52 +0000 Subject: - Patch #222236 by Rob Loach: drupal.sh with no arguments now prints the help text instead of giving an error. --- scripts/drupal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/drupal.sh') diff --git a/scripts/drupal.sh b/scripts/drupal.sh index c6ee7261d..e94d9e9ca 100755 --- a/scripts/drupal.sh +++ b/scripts/drupal.sh @@ -14,7 +14,7 @@ */ $script = basename(array_shift($_SERVER['argv'])); -if (in_array('--help', $_SERVER['argv'])) { +if (in_array('--help', $_SERVER['argv']) || empty($_SERVER['argv'])) { echo <<