From 11a37067e7dfb2231d7f9c885b52caa64a855732 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sun, 28 Feb 2016 21:01:21 +0800 Subject: [PATCH] Document -A as a short name for --auth-type --- CHANGELOG.rst | 1 + README.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 006a35c5..83960b49 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,7 @@ This project adheres to `Semantic Versioning `_. ------------------------- * 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. diff --git a/README.rst b/README.rst index f0caf724..04764891 100644 --- a/README.rst +++ b/README.rst @@ -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: