diff options
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r-- | libbe/cmdutil.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index e6d5a8f..31a542d 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -2,6 +2,7 @@ import bugdir import plugin import os import optparse +import utility def unique_name(bug, bugs): chars = 1 @@ -111,6 +112,11 @@ class CmdOptionParser(optparse.OptionParser): return iter_combine([self._short_opt.iterkeys(), self._long_opt.iterkeys()]) + def help_str(self): + fs = utility.FileString() + self.print_help(fs) + return fs.str + def underlined(instring): """Produces a version of a string that is underlined with '=' |