From e7c376ed286b3bf741ae9e364eef7dd2114d77c7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 16 Nov 2008 14:12:06 -0500 Subject: Added 'remove' command to remove bugs. Use __desc__ for command help. 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. --- becommands/upgrade.py | 1 + 1 file changed, 1 insertion(+) (limited to 'becommands/upgrade.py') diff --git a/becommands/upgrade.py b/becommands/upgrade.py index f5b12ef..7ed3630 100644 --- a/becommands/upgrade.py +++ b/becommands/upgrade.py @@ -18,6 +18,7 @@ import os.path import errno from libbe import bugdir, rcs, cmdutil +__desc__ = __doc__ def execute(args): options, args = get_parser().parse_args(args) -- cgit