mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
remove --shortversion
this has no benefit over --version and clutters our cmdline options.
This commit is contained in:
parent
3814f171dd
commit
af777f9b4f
@ -12,14 +12,9 @@ def common_options(parser, opts):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--version',
|
'--version',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
|
help="show version number and exit",
|
||||||
dest='version',
|
dest='version',
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
'--shortversion',
|
|
||||||
action='version',
|
|
||||||
help="show program's short version number and exit",
|
|
||||||
version=version.VERSION
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--options',
|
'--options',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
|
Loading…
Reference in New Issue
Block a user