Document -A as a short name for --auth-type

This commit is contained in:
Jakub Roztocil 2016-02-28 21:01:21 +08:00
parent 25f0156502
commit 11a37067e7
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
-------------------------
* Added ``Content-Type`` of files uploaded in ``multipart/form-data`` requests.
* Added ``-A`` as short name for ``--auth-type``
* Changed the default color style back to``solarized`` as it supports
both the light and dark terminal background mode.

View File

@ -565,7 +565,7 @@ The currently supported authentication schemes are Basic and Digest
supported as well (but credentials passed via ``-a``
have higher priority).
``--auth-type`` Specify the auth mechanism. Possible values are
``--auth-type, -A`` Specify the auth mechanism. Possible values are
``basic`` and ``digest``. The default value is
``basic`` so it can often be omitted.
=================== ======================================================
@ -585,7 +585,7 @@ Digest auth:
.. code-block:: bash
$ http --auth-type=digest -a username:password example.org
$ http -A digest -a username:password example.org
With password prompt: