mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
add -A as short arg for --auth-type
Addresses #430 comes with unit test
This commit is contained in:
1 parent
4f755a8bde
commit
ac69d4311b
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -397,7 +397,7 @@ auth.add_argument(
|
||||
|
||||
_auth_plugins = plugin_manager.get_auth_plugins()
|
||||
auth.add_argument(
|
||||
'--auth-type',
|
||||
'--auth-type', '-A',
|
||||
choices=[plugin.auth_type for plugin in _auth_plugins],
|
||||
default=_auth_plugins[0].auth_type,
|
||||
help="""
|
||||
|
||||
Reference in new issue
Block a user