diff options
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index d8b6000c..b1cbfa3a 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -760,6 +760,21 @@ def mitmweb(): action="store_true", dest="wdebug", help="Turn on mitmweb debugging" ) + group.add_argument( + "--wsingleuser", + action="store", dest="wsingleuser", type=str, + metavar="USER", + help=""" + Allows access to a a single user, specified in the form + username:password. + """ + ) + group.add_argument( + "--whtpasswd", + action="store", dest="whtpasswd", type=str, + metavar="PATH", + help="Allow access to users specified in an Apache htpasswd file." + ) common_options(parser) group = parser.add_argument_group( |