Added -I as a shortcut for --ignore-stdin

This commit is contained in:
Jakub Roztocil 2016-07-02 15:01:46 +02:00
parent bfc64bce21
commit e1fa57d228
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
* Added the ability to unset a request header with ``Header:``, and send an
empty value with ``Header;``.
* Added ``--default-scheme <URL_SCHEME>``.
* Added ``-I`` as a shortcut for ``--ignore-stdin``.
* Added fish shell completion (located in ``extras/httpie-completion.fish``
in the Github repo).
* Updated ``requests`` to 2.10.0 so that SOCKS support can be added via

View File

@ -577,7 +577,7 @@ ssl.add_argument(
troubleshooting = parser.add_argument_group(title='Troubleshooting')
troubleshooting.add_argument(
'--ignore-stdin',
'--ignore-stdin', '-I',
action='store_true',
default=False,
help="""