From 3ad925a207db26734e102fee7d624141f68422c4 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 10 May 2008 16:25:49 +0000 Subject: [PATCH] Fixing grammar in error message --- maintenance/commandLine.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc index 4a86d4db18..29bb84ad14 100644 --- a/maintenance/commandLine.inc +++ b/maintenance/commandLine.inc @@ -63,7 +63,7 @@ for( $arg = reset( $argv ); $arg !== false; $arg = next( $argv ) ) { if ( in_array( $option, $optionsWithArgs ) ) { $param = next( $argv ); if ( $param === false ) { - echo "$arg needs an value after it\n"; + echo "$arg needs a value after it\n"; die( -1 ); } $options[$option] = $param; @@ -84,7 +84,7 @@ for( $arg = reset( $argv ); $arg !== false; $arg = next( $argv ) ) { if ( in_array( $option, $optionsWithArgs ) ) { $param = next( $argv ); if ( $param === false ) { - echo "$arg needs an value after it\n"; + echo "$arg needs a value after it\n"; die( -1 ); } $options[$option] = $param; -- 2.20.1