aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/help.py
Commit message (Collapse)AuthorAgeFilesLines
* Added 'remove' command to remove bugs. Use __desc__ for command help.W. Trevor King2008-11-161-1/+2
| | | | | | | | | | | Using the __desc__ reduces documentation duplication. It's also better than using __doc__, because __doc__ could (should?) be more than one-line long, and we just want a short description to jog our memories in the complete command list. Also moved unique_name from cmdutil.py to names.py to avoid the bug->cmdutil->bugdir->bug cyclic include.
* Split Bug and Comment class out to bug.py from bugdir.pyW. Trevor King2008-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Comment should probably have it's own file too... I also tried to clean up the interface for setting status and severity. Both attributes involve selecting strings from predefined lists. The lists of valid strings (and descriptions of each string) are now defined in bug.py. The bug.py lists are then used to generate appropriate help strings in becommands/status.py and severity.py. This should make it easier to keep the help strings in synch with the validation information. The original status strings weren't documented, and I didn't know what they all ment, so I elimanted some of them. 'in-progress' and 'disabled' are no longer with us. Of course, it would be simple to add them back in if people don't agree with me on that. Due to the loss of 'disabled' I had to change the status of two bugs (11e and 597) to 'closed'. I removed becommands/inprogress.py as well. It's functionality was replaced by the more general status.py command, which mimics the severity.py command.
* Fix help printing (Lee Braiden)Aaron Bentley2006-04-171-1/+2
|
* Merge both linesAaron Bentley2006-04-041-1/+5
|\
| * Catch AttributeError when a command has no help() def'd.Thomas Gerigk2006-04-031-1/+5
| |
* | Refactored the command listingAaron Bentley2006-04-011-2/+1
|/
* Patch from Thomas Gerigk to add a 'help' commandAaron Bentley2006-04-011-0/+43