diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-17 20:09:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-17 20:09:52 +0000 |
commit | 455e18c686bf15e464f176d3d7b8d11e6cefefbc (patch) | |
tree | 2084bd325ed6433446f98f4189c0b8efee037b9b /scripts/drupal.sh | |
parent | 70eb02dfc98f2bad1176acd5b9061a0a12a4e5fd (diff) | |
download | brdo-455e18c686bf15e464f176d3d7b8d11e6cefefbc.tar.gz brdo-455e18c686bf15e464f176d3d7b8d11e6cefefbc.tar.bz2 |
- Patch #222236 by Rob Loach: drupal.sh with no arguments now prints the help text instead of giving an error.
Diffstat (limited to 'scripts/drupal.sh')
-rwxr-xr-x | scripts/drupal.sh | 2 |
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. |