/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 contrib/bash/bzr.simple

  • Committer: Martin Pool
  • Date: 2005-07-27 21:51:24 UTC
  • Revision ID: mbp@sourcefrog.net-20050727215124-4ebbdcb49f7bc0e3
- Factor away _parse_master_args, which seems a bit overcomplicated.

  Instead just look for --profile, --no-plugins or --builtin at start
  of the command.  

  Incidentally fix up handling of --version which was previously 
  broken.

- Add tests for 'bzr --version'

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
_bzr_commands() 
8
8
{
9
 
     bzr help commands | sed -r 's/^([-[:alnum:]]*).*/\1/' | grep '^[[:alnum:]]' 
 
9
     bzr help commands | grep -v '^   '
10
10
}
11
11
 
12
12
_bzr()