From dbec1999dc8d6d0503caf5cd1cf7c71eb5c4e683 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Wed, 5 Dec 2012 22:15:06 +0000 Subject: [PATCH] Fixed parsing bugs Tweaked text git-svn-id: http://comictagger.googlecode.com/svn/trunk@221 6c5673fe-1810-88d6-992b-cd32ca31540c --- options.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/options.py b/options.py index f6f930e..f18847d 100644 --- a/options.py +++ b/options.py @@ -52,7 +52,7 @@ If no options are given, {0} will run in windowed mode from the file -d, --delete Deletes the tag block of specified type (via -t) -c, --copy=SOURCE Copy the specified source tag block to destination style - specified via via -t + specified via via -t (potentially lossy operation) -s, --save Save out tags as specified type (via -t) Must specify also at least -o, -p, or -m --nooverwrite Don't modify tag block if it already exists ( relevent for -s or -c ) @@ -206,13 +206,14 @@ If no options are given, {0} will run in windowed mode self.rename_file = True if o in ("-f", "--parsefilename"): self.parse_filename = True - if o in ("--raw"): + if o == "--raw": self.raw = True - if o in ("--noabort"): + if o == "--noabort": self.abortOnLowConfidence = False - if o in ("--terse"): + if o == "--terse": + print "setting terse!" self.terse = True - if o in ("--nooverwrite"): + if o == "--nooverwrite": self.no_overwrite = True if o in ("-t", "--type"): if a.lower() == "cr":