aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2020-03-30 23:08:17 +0200
committerGitHub <noreply@github.com>2020-03-30 23:08:17 +0200
commit7d87154130e1052e4ecb3d3c2e754124d76b18f8 (patch)
tree4acf2417a8eb943c9b65c76ca8c5c962112d4419 /docs
parent6885e962c3565d0467757ec40ff996c633b5d04a (diff)
parentfa222dca65b2ae484c5778e10206033d6ed08b79 (diff)
downloadmitmproxy-7d87154130e1052e4ecb3d3c2e754124d76b18f8.tar.gz
mitmproxy-7d87154130e1052e4ecb3d3c2e754124d76b18f8.tar.bz2
mitmproxy-7d87154130e1052e4ecb3d3c2e754124d76b18f8.zip
Merge pull request #3870 from naivekun/update_document
fix document error
Diffstat (limited to 'docs')
-rw-r--r--docs/src/content/tools-mitmdump.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/content/tools-mitmdump.md b/docs/src/content/tools-mitmdump.md
index fb6a6c0c..dcc3bbf6 100644
--- a/docs/src/content/tools-mitmdump.md
+++ b/docs/src/content/tools-mitmdump.md
@@ -53,7 +53,7 @@ See the [client-side replay]({{< relref "overview-features#client-side-replay"
### Running a script
{{< highlight bash >}}
-mitmdump -s examples/add_header.py
+mitmdump -s examples/simple/add_header.py
{{< / highlight >}}
This runs the **add_header.py** example script, which simply adds a new
@@ -62,7 +62,7 @@ header to all responses.
### Scripted data transformation
{{< highlight bash >}}
-mitmdump -ns examples/add_header.py -r srcfile -w dstfile
+mitmdump -ns examples/simple/add_header.py -r srcfile -w dstfile
{{< / highlight >}}
This command loads flows from **srcfile**, transforms it according to