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

@@ -67,7 +67,8 @@ def traverse(path,options):
def execute():
''' Main execution '''
parser=ArgumentParser(version=Qalbum.__version__)
parser=ArgumentParser()
parser.add_argument("-v",action='version', version=Qalbum.__version__)
parser.add_argument("-f",action="store_true",dest="force",default=False,
help="Force rewriting of descriptions")
parser.add_argument("--format",type=str,dest="format",default="",