revert of last commit (conf dictionary has a method "update" which caused if conf.update to True always :) )

This commit is contained in:
Miroslav Stampar
2011-02-03 12:21:29 +00:00
parent 5edba2ffbc
commit 1b9850b73a
4 changed files with 5 additions and 5 deletions

View File

@@ -467,7 +467,7 @@ def cmdLineParser():
help="Display for each output the "
"estimated time of arrival")
general.add_option("--update", dest="update",
general.add_option("--update", dest="updateAll",
action="store_true", default=False,
help="Update sqlmap")
@@ -554,7 +554,7 @@ def cmdLineParser():
(args, _) = parser.parse_args(args)
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
and not args.requestFile and not args.update and not args.smokeTest and not args.liveTest\
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\
and not args.realTest:
errMsg = "missing a mandatory parameter ('-d', '-u', '-l', '-r', '-g', '-c' or '--update'), "
errMsg += "-h for help"