added --ratio option for direct manipulation of conf.matchRatio parameter

This commit is contained in:
Miroslav Stampar
2010-08-10 19:53:29 +00:00
parent 02523dbfb5
commit 057ec8a6b2
3 changed files with 10 additions and 3 deletions

View File

@@ -187,6 +187,9 @@ def cmdLineParser():
help="Matches to be excluded before "
"comparing page contents")
injection.add_option("--ratio", dest="matchRatio", type="float",
help="Page comparison treshold value")
injection.add_option("--use-between", dest="useBetween",
action="store_true",
help="Use operator BETWEEN instead of default '>'")