diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/code-style.pl | 2 | ||||
-rwxr-xr-x | scripts/drupal.sh | 6 | ||||
-rwxr-xr-x | scripts/password-hash.sh | 2 | ||||
-rwxr-xr-x | scripts/run-tests.sh | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/scripts/code-style.pl b/scripts/code-style.pl index 5970fc10c..df2add6c9 100644 --- a/scripts/code-style.pl +++ b/scripts/code-style.pl @@ -181,7 +181,7 @@ code-style.pl - Review drupal code for style =head1 DESCRIPTION Originally written for Drupal (http://drupal.org/) to ensure stylish -code. This program reviews PHP code, and tries to show as many code +code. This program reviews PHP code, and tries to show as many code improvements as possible with no false positives. =head1 OPTIONS diff --git a/scripts/drupal.sh b/scripts/drupal.sh index a3f258459..5bc254365 100755 --- a/scripts/drupal.sh +++ b/scripts/drupal.sh @@ -36,15 +36,15 @@ All arguments are long options. produce errors from setting the session. URI The URI to execute, i.e. http://default/foo/bar for executing - the path '/foo/bar' in your site 'default'. URI has to be + the path '/foo/bar' in your site 'default'. URI has to be enclosed by quotation marks if there are ampersands in it - (f.e. index.php?q=node&foo=bar). Prefix 'http://' is required, + (f.e. index.php?q=node&foo=bar). Prefix 'http://' is required, and the domain must exist in Drupal's sites-directory. If the given path and file exists it will be executed directly, i.e. if URI is set to http://default/bar/foo.php and bar/foo.php exists, this script will be executed without - bootstrapping Drupal. To execute Drupal's cron.php, specify + bootstrapping Drupal. To execute Drupal's cron.php, specify http://default/cron.php as the URI. diff --git a/scripts/password-hash.sh b/scripts/password-hash.sh index 74f84d264..eb2e3424a 100755 --- a/scripts/password-hash.sh +++ b/scripts/password-hash.sh @@ -21,7 +21,7 @@ if (version_compare(PHP_VERSION, "5.2.0", "<")) { $version = PHP_VERSION; echo <<<EOF -ERROR: This script requires at least PHP version 5.2.0. You invoked it with +ERROR: This script requires at least PHP version 5.2.0. You invoked it with PHP version {$version}. \n EOF; diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 382e11add..fe1dd6464 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -133,13 +133,13 @@ All arguments are long options. <test1>[,<test2>[,<test3> ...]] - One or more tests to be run. By default, these are interpreted + One or more tests to be run. By default, these are interpreted as the names of test groups as shown at ?q=admin/build/testing. These group names typically correspond to module names like "User" or "Profile" or "System", but there is also a group "XML-RPC". If --class is specified then these are interpreted as the names of - specific test classes whose test methods will be run. Tests must - be separated by commas. Ignored if --all is specified. + specific test classes whose test methods will be run. Tests must + be separated by commas. Ignored if --all is specified. To run this script you will normally invoke it from the root directory of your Drupal installation as the webserver user (differs per configuration), or root: |