diff options
-rwxr-xr-x | wnpp-query.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wnpp-query.py b/wnpp-query.py index bceefb1..7f404cc 100755 --- a/wnpp-query.py +++ b/wnpp-query.py @@ -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: |