aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/script_arguments.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-24 10:15:41 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-25 10:48:12 +1300
commit541c1e8b9f0e2e12bd770100888129639cc94827 (patch)
tree8939e7c9fc7e6810e9363e598e84882098cbde04 /examples/simple/script_arguments.py
parentb531353ee0259425cff2b4857716ba2cd995a437 (diff)
downloadmitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.tar.gz
mitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.tar.bz2
mitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.zip
addons: start -> load throughout
Diffstat (limited to 'examples/simple/script_arguments.py')
-rw-r--r--examples/simple/script_arguments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/script_arguments.py b/examples/simple/script_arguments.py
index b46a1960..e16f6a22 100644
--- a/examples/simple/script_arguments.py
+++ b/examples/simple/script_arguments.py
@@ -9,7 +9,7 @@ class Replacer:
flow.response.replace(self.src, self.dst)
-def start(opts):
+def load(opts):
parser = argparse.ArgumentParser()
parser.add_argument("src", type=str)
parser.add_argument("dst", type=str)