This commit is contained in:
Bernardo Damele
2011-06-13 19:00:27 +00:00
parent 7152a1ed3b
commit 8978fded03
5 changed files with 11 additions and 11 deletions

View File

@@ -537,9 +537,9 @@ def cmdLineParser():
action="store_true", default=False,
help="Simple wizard interface for beginner users")
miscellaneous.add_option("--dependences", dest="dependences",
miscellaneous.add_option("--dependencies", dest="dependencies",
action="store_true", default=False,
help="Show which sqlmap dependences are not available")
help="Show which sqlmap dependencies are not available")
# Hidden and/or experimental options
parser.add_option("--profile", dest="profile", action="store_true",
@@ -590,8 +590,8 @@ def cmdLineParser():
(args, _) = parser.parse_args(args)
if not any([args.direct, args.url, args.logFile, args.bulkFile, args.googleDork, args.configFile, \
args.requestFile, args.updateAll, args.smokeTest, args.liveTest, args.realTest, args.wizard, args.dependences]):
errMsg = "missing a mandatory parameter (-d, -u, -l, -m, -r, -g, -c, --wizard, --update or --dependences), "
args.requestFile, args.updateAll, args.smokeTest, args.liveTest, args.realTest, args.wizard, args.dependencies]):
errMsg = "missing a mandatory parameter (-d, -u, -l, -m, -r, -g, -c, --wizard, --update or --dependencies), "
errMsg += "-h for help"
parser.error(errMsg)