/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Ian Clatworthy
  • Date: 2009-02-06 08:06:04 UTC
  • mto: (4157.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4158.
  • Revision ID: ian.clatworthy@canonical.com-20090206080604-ylrt5rwf5193vfr8
make help on commands concise by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
3520
3520
    _see_also = ['topics']
3521
3521
    takes_options = [
3522
3522
            Option('long', 'Show help on all commands.'),
 
3523
            custom_help('verbose',
 
3524
                help='Show detailed help including Description and Examples.'),
3523
3525
            ]
3524
3526
    takes_args = ['topic?']
3525
3527
    aliases = ['?', '--help', '-?', '-h']
3526
3528
    
3527
3529
    @display_command
3528
 
    def run(self, topic=None, long=False):
 
3530
    def run(self, topic=None, long=False, verbose=False):
3529
3531
        import bzrlib.help
3530
3532
        if topic is None and long:
3531
3533
            topic = "commands"
3532
 
        bzrlib.help.help(topic)
 
3534
        bzrlib.help.help(topic, verbose=verbose)
3533
3535
 
3534
3536
 
3535
3537
class cmd_shell_complete(Command):