aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authornaivekun <naivekun0817@gmail.com>2020-03-25 22:02:53 +0800
committernaivekun <naivekun0817@gmail.com>2020-03-25 22:02:53 +0800
commitfa222dca65b2ae484c5778e10206033d6ed08b79 (patch)
tree89c628d4f411e328e64b7a089854946998f9889b /docs
parente01f044c33aba51d9e5b6053e759b47594ad0855 (diff)
downloadmitmproxy-fa222dca65b2ae484c5778e10206033d6ed08b79.tar.gz
mitmproxy-fa222dca65b2ae484c5778e10206033d6ed08b79.tar.bz2
mitmproxy-fa222dca65b2ae484c5778e10206033d6ed08b79.zip
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