Skip to content

Commit

Permalink
Minor command-line argument fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cortesi committed Feb 25, 2011
1 parent 6921b9f commit 2e492b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion mitmdump
Expand Up @@ -32,7 +32,7 @@ if __name__ == '__main__':
parser.add_option(
"-p", action="store",
type = "int", dest="port", default=8080,
help = "Port."
help = "Proxy service port."
)
parser.add_option("-c",
action="store_true", dest="stickycookie_all", default=None,
Expand Down
13 changes: 1 addition & 12 deletions mitmproxy
Expand Up @@ -36,7 +36,7 @@ if __name__ == '__main__':
parser.add_option(
"-p", "--port", action="store",
type = "int", dest="port", default=8080,
help = "Port."
help = "Proxy service port."
)

group = OptionGroup(
Expand Down Expand Up @@ -66,17 +66,6 @@ if __name__ == '__main__':
)
parser.add_option_group(group)

group = OptionGroup(
parser,
"Recorder",
"Options controlling recorder behavior"
)
group.add_option(
"-C", "--cookies", action="append",
type = "str", dest="cookies", default=[],
help = "Persistent client cookies already set or generated in client"
)
parser.add_option_group(group)

options, args = parser.parse_args()

Expand Down

0 comments on commit 2e492b8

Please sign in to comment.