~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2006-03-22 17:48:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1626.
  • Revision ID: mbp@sourcefrog.net-20060322174849-c91b958b284cfde3
Fix 'bzr -h' to show help (#35940)

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
        i += 1
569
569
 
570
570
    argv = argv_copy
571
 
    if (not argv) or (argv[0] == '--help'):
 
571
    if (not argv) or (argv[0] == '--help') or (argv[0] == '-h'):
572
572
        from bzrlib.help import help
573
573
        if len(argv) > 1:
574
574
            help(argv[1])