r71802 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71801‎ | r71802 | r71803 >
Date:20:12, 27 August 2010
Author:simetrical
Status:ok
Tags:
Comment:
Fix script name in usage, from r70553

This should probably be moved to phase3/maintenance/ so it can use the
standard MW argument parsing library.
Modified paths:
  • /trunk/tools/code-utils/stylize.php (modified) (history)

Diff [purge]

Index: trunk/tools/code-utils/stylize.php
@@ -20,7 +20,7 @@
2121 $args = new Args( $argv );
2222
2323 if ( $args->flag( 'help' ) ) {
24 - echo "Usage: php createAndPromote.php [--backup|--help|--ignore=<regextoexclude>] <files/directories>
 24+ echo "Usage: php stylize.php [--backup|--help|--ignore=<regextoexclude>] <files/directories>
2525 backup : Creates a backup of modified files
2626 help : This message!
2727 ignore : Regex of files not to stylize e.g. .*\.i18n\.php

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70553* (bug 24553) Give stylize a path ignore pattern...reedy11:14, 6 August 2010

Status & tagging log