~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-01 04:04:04 UTC
  • Revision ID: mbp@sourcefrog.net-20050401040404-c5cd90f539e27f91
bzr commit --help now works

Show diffs side-by-side

added added

removed removed

Lines of Context:
823
823
        if 'help' in opts:
824
824
            # TODO: pass down other arguments in case they asked for
825
825
            # help on a command name?
826
 
            cmd_help()
 
826
            if args:
 
827
                cmd_help(args[0])
 
828
            else:
 
829
                cmd_help()
827
830
            return 0
828
831
        elif 'version' in opts:
829
832
            cmd_version()