Fix help string to avoid PHP notice
authorS Page <spage@wikimedia.org>
Tue, 8 Oct 2013 04:13:19 +0000 (21:13 -0700)
committerS Page <spage@wikimedia.org>
Tue, 8 Oct 2013 04:13:19 +0000 (21:13 -0700)
Escape a $ symbol in help message and rephrase slightly.  Without this,
`php maintenance/language/checkDupeMessages.php --help` prints
PHP Notice:  Undefined variable: dupeMessages in
        language/checkDupeMessages.php on line 56

Change-Id: Ie7c0f07e68cee1f7cd2758f71b09d34e339d4b7b

maintenance/language/checkDupeMessages.php

index ac9d8cb..381ddae 100644 (file)
@@ -52,7 +52,7 @@ Options:
        * mode:  Output format, can be either:
                * text:   Text output on the console (default)
                * wiki:   Wiki format, with * at beginning of each line
-               * php:    Output text as PHP syntax in a array $dupeMessages
+               * php:    Output text as PHP syntax in an array named \$dupeMessages
                * raw:    Raw output for duplicates
 TEXT;
 }