~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Martin Pool
  • Date: 2007-07-10 10:20:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2599.
  • Revision ID: mbp@sourcefrog.net-20070710102027-2os88re33c57m522
Add test for and documentation of option style, fix up existing options to comply

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