~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Martin Pool
  • Date: 2007-07-11 01:55:33 UTC
  • mto: This revision was merged to the branch mainline in revision 2599.
  • Revision ID: mbp@sourcefrog.net-20070711015533-dzcxkjg0ujh8yuhl
Option help improvements (thanks jamesw)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1581
1581
    # TODO: Make --revision support uuid: and hash: [future tag:] notation.
1582
1582
 
1583
1583
    takes_args = ['location?']
1584
 
    takes_options = [Option('forward',
1585
 
                            help='Show from oldest to newest.'),
1586
 
                     'timezone',
1587
 
                     Option('verbose',
1588
 
                             short_name='v',
1589
 
                             help='Show files changed in each revision.'),
1590
 
                     'show-ids', 'revision',
1591
 
                     'log-format',
1592
 
                     Option('message',
1593
 
                            short_name='m',
1594
 
                            help='Show revisions whose message matches this regexp.',
1595
 
                            type=str),
1596
 
                     Option('limit',
1597
 
                            help='Limit the output to the first N revisions.',
1598
 
                            type=_parse_limit),
1599
 
                     ]
 
1584
    takes_options = [
 
1585
            Option('forward',
 
1586
                   help='Show from oldest to newest.'),
 
1587
            'timezone',
 
1588
            Option('verbose',
 
1589
                   short_name='v',
 
1590
                   help='Show files changed in each revision.'),
 
1591
            'show-ids',
 
1592
            'revision',
 
1593
            'log-format',
 
1594
            Option('message',
 
1595
                   short_name='m',
 
1596
                   help='Show revisions whose message matches this '
 
1597
                        'regular expression.',
 
1598
                   type=str),
 
1599
            Option('limit',
 
1600
                   help='Limit the output to the first N revisions.',
 
1601
                   argname='N',
 
1602
                   type=_parse_limit),
 
1603
            ]
1600
1604
    encoding_type = 'replace'
1601
1605
 
1602
1606
    @display_command
1721
1725
            Option('non-recursive',
1722
1726
                   help='Don\'t recurse into subdirectories.'),
1723
1727
            Option('from-root',
1724
 
                   help='Print all paths from the root of the branch.'),
 
1728
                   help='Print paths relative to the root of the branch.'),
1725
1729
            Option('unknown', help='Print unknown files.'),
1726
1730
            Option('versioned', help='Print versioned files.'),
1727
1731
            Option('ignored', help='Print ignored files.'),