mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Deprecating --replicate (Issue #254)
This commit is contained in:
parent
f08eb0fd9f
commit
87a92ab330
4 changed files with 22 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ from optparse import OptionGroup
|
|||
from optparse import OptionParser
|
||||
from optparse import SUPPRESS_HELP
|
||||
|
||||
from lib.core.common import checkDeprecatedOptions
|
||||
from lib.core.common import expandMnemonics
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.data import logger
|
||||
|
|
@ -716,6 +717,8 @@ def cmdLineParser():
|
|||
for arg in sys.argv:
|
||||
args.append(getUnicode(arg, system=True))
|
||||
|
||||
checkDeprecatedOptions(args)
|
||||
|
||||
# Hide non-basic options in basic help case
|
||||
for i in xrange(len(sys.argv)):
|
||||
if sys.argv[i] == '-hh':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue