~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-11 04:19:50 UTC
  • mfrom: (2598.1.5 check-options)
  • Revision ID: pqm@pqm.ubuntu.com-20070711041950-ci5yz9nyhbcdmuqv
(mbp,r=jamesw,r=aaron) Make option grammar consistent and enforce that with a test

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    """Show version information about this tree."""
49
49
 
50
50
    takes_options = [Option('format', type=_parse_version_info_format,
51
 
                            help='Select the output format'),
52
 
                     Option('all', help='include all possible information'),
53
 
                     Option('check-clean', help='check if tree is clean'),
 
51
                            help='Select the output format.'),
 
52
                     Option('all', help='Include all possible information.'),
 
53
                     Option('check-clean', help='Check if tree is clean.'),
54
54
                     Option('include-history',
55
 
                            help='Include the revision-history'),
 
55
                            help='Include the revision-history.'),
56
56
                     Option('include-file-revisions',
57
 
                            help='Include the last revision for each file')
 
57
                            help='Include the last revision for each file.')
58
58
                     ]
59
59
    takes_args = ['location?']
60
60