Translations:Manual:Writing maintenance scripts/17/en

To add an option, add a constructor with a call addOption and update the execute method to use the new option. addOption's parameters are $name, $description, $required = false, $withArg = false, $shortName = false: