Page MenuHomePhabricator

Sensible error messages instead of just printing the help
Closed, ResolvedPublic

Description

The scripts in the repository should be checked and instead of just printing the help it should show a meaningful message. I'd actually say the help message shouldn't be shown as it's very long for many scripts (because of the pagegenerator help) and thus will the error message easily overlooked.

For example when someone is using replace and forgot to define the generator they just get the help message and it's not obvious what has gone wrong.

Event Timeline

XZise raised the priority of this task from to Medium.
XZise updated the task description. (Show Details)
XZise added a project: Pywikibot.
XZise subscribed.
Restricted Application added subscribers: Aklapper, Unknown Object (MLST). · View Herald TranscriptMar 4 2015, 10:19 PM

Change 194542 had a related patch set uploaded (by XZise):
[FEAT] scripts: Sensible error information

https://gerrit.wikimedia.org/r/194542

Change 194542 merged by jenkins-bot:
[FEAT] scripts: Sensible error information

https://gerrit.wikimedia.org/r/194542

Xqt claimed this task.
Xqt reassigned this task from Xqt to XZise.
Xqt subscribed.