r34587 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34586‎ | r34587 | r34588 >
Date:16:25, 10 May 2008
Author:catrope
Status:old
Tags:
Comment:
Fixing grammar in error message
Modified paths:
  • /trunk/phase3/maintenance/commandLine.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/commandLine.inc
@@ -63,7 +63,7 @@
6464 if ( in_array( $option, $optionsWithArgs ) ) {
6565 $param = next( $argv );
6666 if ( $param === false ) {
67 - echo "$arg needs an value after it\n";
 67+ echo "$arg needs a value after it\n";
6868 die( -1 );
6969 }
7070 $options[$option] = $param;
@@ -84,7 +84,7 @@
8585 if ( in_array( $option, $optionsWithArgs ) ) {
8686 $param = next( $argv );
8787 if ( $param === false ) {
88 - echo "$arg needs an value after it\n";
 88+ echo "$arg needs a value after it\n";
8989 die( -1 );
9090 }
9191 $options[$option] = $param;

Status & tagging log