aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/cmdline.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-23 17:35:22 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-23 17:35:22 +1200
commitb0ab5297d161d61975e67b04ba58a71f97c5cba8 (patch)
treee46697bb6acc212cfef0fe265bdfb8ab9fb0e9c6 /libpathod/cmdline.py
parentdacb350040806ad0855cd482d53247be81474f3a (diff)
downloadmitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.tar.gz
mitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.tar.bz2
mitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.zip
Change the semantics of the craft anchor point specification
The anchor point is now defined as /p (rather than /p/), with the specification for a request just to /p or /p/ being empty.
Diffstat (limited to 'libpathod/cmdline.py')
-rw-r--r--libpathod/cmdline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/cmdline.py b/libpathod/cmdline.py
index 58202ea6..cce02d99 100644
--- a/libpathod/cmdline.py
+++ b/libpathod/cmdline.py
@@ -233,8 +233,8 @@ def args_pathod(argv, stdout=sys.stdout, stderr=sys.stderr):
"""
)
parser.add_argument(
- "-c", dest='craftanchor', default="/p/", type=str,
- help='Anchorpoint for URL crafting commands. (/p/)'
+ "-c", dest='craftanchor', default="/p", type=str,
+ help='Anchorpoint for URL crafting commands. (/p)'
)
parser.add_argument(
"--confdir",