Renaming --binary to --binary-fields

This commit is contained in:
Miroslav Stampar 2013-02-13 11:27:03 +01:00
parent dd6f50a00e
commit 6314d64a70
3 changed files with 3 additions and 2 deletions

View File

@ -344,7 +344,7 @@ class Agent(object):
else: else:
nulledCastedField = rootQuery.isnull.query % nulledCastedField nulledCastedField = rootQuery.isnull.query % nulledCastedField
if conf.hexConvert or conf.binary and field in conf.binary.split(','): if conf.hexConvert or conf.binaryFields and field in conf.binaryFields.split(','):
nulledCastedField = self.hexConvertField(nulledCastedField) nulledCastedField = self.hexConvertField(nulledCastedField)
return nulledCastedField return nulledCastedField

View File

@ -205,6 +205,7 @@ POST_HINT_CONTENT_TYPES = {
DEPRECATED_OPTIONS = { DEPRECATED_OPTIONS = {
"--replicate": "use '--dump-format=SQLITE' instead", "--replicate": "use '--dump-format=SQLITE' instead",
"--no-unescape": "use '--no-escape' instead", "--no-unescape": "use '--no-escape' instead",
"--binary": "use '--binary-fields' instead",
"--check-payload": None, "--check-payload": None,
} }

View File

@ -665,7 +665,7 @@ def cmdLineParser():
parser.add_option("--profile", dest="profile", action="store_true", parser.add_option("--profile", dest="profile", action="store_true",
help=SUPPRESS_HELP) help=SUPPRESS_HELP)
parser.add_option("--binary", dest="binary", parser.add_option("--binary-fields", dest="binaryFields",
help=SUPPRESS_HELP) help=SUPPRESS_HELP)
parser.add_option("--cpu-throttle", dest="cpuThrottle", type="int", parser.add_option("--cpu-throttle", dest="cpuThrottle", type="int",