~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-16 16:53:53 UTC
  • mfrom: (1857.1.24 optparse)
  • Revision ID: pqm@pqm.ubuntu.com-20060816165353-bc26ccbe32f89d60
Use optparse for option decoding, support inverse options

Show diffs side-by-side

added added

removed removed

Lines of Context:
2493
2493
 
2494
2494
class cmd_testament(Command):
2495
2495
    """Show testament (signing-form) of a revision."""
2496
 
    takes_options = ['revision', 'long', 
 
2496
    takes_options = ['revision', 
 
2497
                     Option('long', help='Produce long-format testament'), 
2497
2498
                     Option('strict', help='Produce a strict-format'
2498
2499
                            ' testament')]
2499
2500
    takes_args = ['branch?']