exit properly on a version command
git-svn-id: http://comictagger.googlecode.com/svn/trunk@253 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
584f78bc3c
commit
152040964e
@ -228,7 +228,7 @@ If no options are given, {0} will run in windowed mode
|
||||
self.no_overwrite = True
|
||||
if o == "--version":
|
||||
print "ComicTagger version: ", ctversion.version
|
||||
quit()
|
||||
sys.exit(0)
|
||||
if o in ("-t", "--type"):
|
||||
if a.lower() == "cr":
|
||||
self.data_style = MetaDataStyle.CIX
|
||||
|
Loading…
Reference in New Issue
Block a user