Index: trunk/phase3/maintenance/commandLine.inc |
— | — | @@ -16,9 +16,15 @@ |
17 | 17 | foreach ( $optionsWithArgs as $name ) { |
18 | 18 | $this->addOption( $name, '', false, true ); |
19 | 19 | } |
| 20 | + } |
20 | 21 | |
21 | | - # No help, it would just be misleading since it misses custom options |
22 | | - unset( $this->mParams['help'] ); |
| 22 | + /** |
| 23 | + * No help, it would just be misleading since it misses custom options |
| 24 | + */ |
| 25 | + protected function maybeHelp( $force = false ) { |
| 26 | + if ( !$force ) |
| 27 | + return; |
| 28 | + parent::maybeHelp( true ); |
23 | 29 | } |
24 | 30 | |
25 | 31 | public function execute() { |