add '--user-agent' command-line option
This commit is contained in:
@@ -124,6 +124,11 @@ def build_parser():
|
||||
dest="source-address", metavar="IP", action=ConfigAction,
|
||||
help="Client-side IP address to bind to",
|
||||
)
|
||||
general.add_argument(
|
||||
"--user-agent",
|
||||
dest="user-agent", metavar="UA", action=ConfigAction,
|
||||
help="User-Agent request header",
|
||||
)
|
||||
general.add_argument(
|
||||
"--clear-cache",
|
||||
dest="clear_cache", metavar="MODULE",
|
||||
|
||||
Reference in New Issue
Block a user