Last modified: 2010-05-15 16:03:31 UTC
Created attachment 5809 [details] maintenance/importTextFile.php print <<< patch Here's a patch to use print <<<EOF in maintenance/importTextFile.php instead of 11 echos. Consider doing the same in other scripts. Also perhaps use echo basename(__FILE__) instead of hardwiring the file name into the usage message. You can use \t's if you are worried the real tabs will get injured next edit or something.
By the way, not all the defaults are mentioned. E.g., you say --title <title> Title for the new page; default is to use the filename as a base But at --user <user> User to be associated with the edit you don't cough up the default. Same for other options.
Applied in r47279.
OK, thanks. But in the --help message do mention the defaults for each item.
(In reply to comment #3) > OK, thanks. But in the --help message do mention the defaults for each item. Please provide a patch.