~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-24 01:22:24 UTC
  • Revision ID: mbp@sourcefrog.net-20050824012224-4bbf37e81385cbcb
- 'bzr' with no arguments shows the summary help.

   Based on a patch from Goffredo Baroncelli.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1874
1874
        return 0
1875
1875
    
1876
1876
    if not args:
1877
 
        print >>sys.stderr, "please try 'bzr help' for help"
1878
 
        return 1
 
1877
        from bzrlib.help import help
 
1878
        help(None)
 
1879
        return 0
1879
1880
    
1880
1881
    cmd = str(args.pop(0))
1881
1882