From e1fa57d22898814087ad7566eb200e2d49fe63a9 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sat, 2 Jul 2016 15:01:46 +0200 Subject: [PATCH] Added -I as a shortcut for --ignore-stdin --- CHANGELOG.rst | 1 + httpie/cli.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 270c76d0..2ba4d3b7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,7 @@ This project adheres to `Semantic Versioning `_. * Added the ability to unset a request header with ``Header:``, and send an empty value with ``Header;``. * Added ``--default-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 diff --git a/httpie/cli.py b/httpie/cli.py index 0b1a1805..a0ec34fb 100644 --- a/httpie/cli.py +++ b/httpie/cli.py @@ -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="""