adding otherwise deprecated -v to options

This commit is contained in:
ville rantanen
2012-03-27 10:49:49 +03:00
parent 4a3a3a4420
commit 86c4a17238
3 changed files with 6 additions and 3 deletions

View File

@@ -375,7 +375,8 @@ def traverse(path,crumbs,inputs,options):
def setupoptions():
''' Setup the command line options '''
from argparse import ArgumentParser
parser=ArgumentParser(version=__version__)
parser=ArgumentParser()
parser.add_argument("-v",action='version', version=__version__)
parser.add_argument("-r",action="store_true",dest="reverse",default=False,
help="Reverse sort orded")
parser.add_argument("-t",action="store_true",dest="timesort",default=False,