Turn back '-n' option by default

This commit is contained in:
Denis Silakov 2012-12-12 14:46:47 +04:00
parent c30becb1a3
commit da6d379af7

View file

@ -93,7 +93,7 @@ def parseargs(args):
group = parser.add_mutually_exclusive_group();
group.add_argument("-o", "--old", default=False, action="store_true",
help=_('print the older packages'))
group.add_argument("-n", "--new", default=False, action="store_true",
group.add_argument("-n", "--new", default=True, action="store_true",
help=_('print the newest packages (this is the default behavior)'))
group.add_argument("-b", "--obsolete", default=False, action="store_true",
help=_('report obsolete packages'))