added copyright/license info to CLI version output

git-svn-id: http://comictagger.googlecode.com/svn/trunk@361 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-01-28 20:58:26 +00:00
parent 25b63dfc65
commit d40de5b67e

View File

@ -234,7 +234,8 @@ If no options are given, {0} will run in windowed mode
if o == "--nooverwrite":
self.no_overwrite = True
if o == "--version":
print "ComicTagger version: ", ctversion.version
print "ComicTagger {0}: Copyright (c) 2012-2013 Anthony Beville".format(ctversion.version)
print "Distributed under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)"
sys.exit(0)
if o in ("-t", "--type"):
if a.lower() == "cr":