From e967b133785abc5a0ebdaedca62dab610e75169b Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 27 Nov 2008 23:06:02 +0000 Subject: [PATCH] Minor adjustment to command line usage message --- lib/parse/cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index a7b28da2a..e3c96cfdf 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -37,7 +37,7 @@ def cmdLineParser(): This function parses the command line parameters and arguments """ - usage = "sqlmap.py [options] {-u \"\" | -g \"\" | -c \"\"}" + usage = "sqlmap.py [options]" parser = OptionParser(usage=usage, version=VERSION_STRING) try: @@ -274,7 +274,7 @@ def cmdLineParser(): (args, _) = parser.parse_args() if not args.url and not args.list and not args.googleDork and not args.configFile and not args.updateAll: - errMsg = "missing a mandatory parameter ('-u', '-g', '-c' or '--update'), " + errMsg = "missing a mandatory parameter ('-u', '-l', '-g', '-c' or '--update'), " errMsg += "-h for help" parser.error(errMsg)