Calling *something should print syntax information

Bug #214085 reported by Siegfried Gevatter
2
Affects Status Importance Assigned to Milestone
P1tr
Confirmed
Low
Unassigned

Bug Description

Using a command which needs arguments without those should print information about the correct syntax.

Changed in p1tr:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Chris Ortner (c-ortner) wrote :

How would you recommend to implement this? The easiest way would be an if which checks if required parameters are there, and an else which returns the help message of the command in case the requirements of if are not met. But that isn't very agile and has repetitions almost everywhere. There is already an if in each keyword's function, which requires a certain level. Adding one more for this purpose surely doesn't increase code's readability.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.