summaryrefslogtreecommitdiff
path: root/scripts/drupal.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/drupal.sh')
-rwxr-xr-xscripts/drupal.sh2
1 files changed, 1 insertions, 1 deletions
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 <<<EOF
Execute a Drupal page from the shell.