Help text should be lowercase
This commit is contained in:
parent
96a3ddfc3f
commit
543da7ceb4
1 changed files with 5 additions and 5 deletions
|
@ -13,11 +13,11 @@ import urllib2, sys, re
|
|||
from optparse import OptionParser
|
||||
|
||||
parser = OptionParser()
|
||||
parser.add_option('-i', action='store_true', dest='itp', default=False, help='Query ITPs')
|
||||
parser.add_option('-r', action='store_true', dest='rfp', default=False, help='Query RFPs')
|
||||
parser.add_option('-d', action='store_true', dest='description', default=False, help='Show description of each package')
|
||||
parser.add_option('--min', dest='min_days_old', type="int", help='Minimum age (in days)')
|
||||
parser.add_option('--max', dest='max_days_old', type="int", help='Maximum age (in days)')
|
||||
parser.add_option('-i', action='store_true', dest='itp', default=False, help='query ITPs')
|
||||
parser.add_option('-r', action='store_true', dest='rfp', default=False, help='query RFPs')
|
||||
parser.add_option('-d', action='store_true', dest='description', default=False, help='show description of each package')
|
||||
parser.add_option('--min', dest='min_days_old', type="int", help='minimum age (in days)')
|
||||
parser.add_option('--max', dest='max_days_old', type="int", help='maximum age (in days)')
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if not options.min_days_old and not options.max_days_old or not options.itp and not options.rfp or options.itp and options.rfp:
|
||||
|
|
Loading…
Add table
Reference in a new issue