mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
Minor adjustment to command line usage message
This commit is contained in:
parent
6e548eb2ec
commit
e967b13378
|
@ -37,7 +37,7 @@ def cmdLineParser():
|
|||
This function parses the command line parameters and arguments
|
||||
"""
|
||||
|
||||
usage = "sqlmap.py [options] {-u \"<URL>\" | -g \"<google dork>\" | -c \"<config file>\"}"
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user