~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/option.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-24 05:50:53 UTC
  • mfrom: (5250.1.2 non-standard-null-option)
  • Revision ID: pqm@pqm.ubuntu.com-20100524055053-98svu921jteiweaw
Fix the type of the recently introduced null option - it should have been
 global, not standard.

Show diffs side-by-side

added added

removed removed

Lines of Context:
506
506
# Declare the standard options
507
507
_standard_option('help', short_name='h',
508
508
                 help='Show help message.')
509
 
_standard_option('null', short_name='0',
510
 
                 help='Use an ASCII NUL (\\0) separator rather than '
511
 
                      'a newline.')
512
509
_standard_option('usage',
513
510
                 help='Show usage message and options.')
514
511
_standard_option('verbose', short_name='v',
533
530
               short_name='m',
534
531
               help='Message string.')
535
532
_global_option('no-recurse')
 
533
_global_option('null', short_name='0',
 
534
                 help='Use an ASCII NUL (\\0) separator rather than '
 
535
                      'a newline.')
536
536
_global_option('profile',
537
537
               help='Show performance profiling information.')
538
538
_global_option('revision',