Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e967b13

Browse files
committed
Minor adjustment to command line usage message
1 parent 6e548eb commit e967b13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/parse/cmdline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def cmdLineParser():
3737
This function parses the command line parameters and arguments
3838
"""
3939

40-
usage = "sqlmap.py [options] {-u \"<URL>\" | -g \"<google dork>\" | -c \"<config file>\"}"
40+
usage = "sqlmap.py [options]"
4141
parser = OptionParser(usage=usage, version=VERSION_STRING)
4242

4343
try:
@@ -274,7 +274,7 @@ def cmdLineParser():
274274
(args, _) = parser.parse_args()
275275

276276
if not args.url and not args.list and not args.googleDork and not args.configFile and not args.updateAll:
277-
errMsg = "missing a mandatory parameter ('-u', '-g', '-c' or '--update'), "
277+
errMsg = "missing a mandatory parameter ('-u', '-l', '-g', '-c' or '--update'), "
278278
errMsg += "-h for help"
279279
parser.error(errMsg)
280280

0 commit comments

Comments
 (0)