This commit is contained in:
Jakub Roztocil 2020-06-18 22:20:12 +02:00
parent 3ee5b49256
commit 5945845420
3 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,7 @@ This document records all notable changes to `HTTPie <https://httpie.org>`_.
This project adheres to `Semantic Versioning <https://semver.org/>`_. This project adheres to `Semantic Versioning <https://semver.org/>`_.
`2.2.0-dev`_ (unreleased) `2.2.0`_ (2020-06-18)
------------------------- -------------------------
* Added support for custom content types for uploaded files (`#668`_). * Added support for custom content types for uploaded files (`#668`_).
@ -436,7 +436,7 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_.
.. _1.0.3: https://github.com/jakubroztocil/httpie/compare/1.0.2...1.0.3 .. _1.0.3: https://github.com/jakubroztocil/httpie/compare/1.0.2...1.0.3
.. _2.0.0: https://github.com/jakubroztocil/httpie/compare/1.0.3...2.0.0 .. _2.0.0: https://github.com/jakubroztocil/httpie/compare/1.0.3...2.0.0
.. _2.1.0: https://github.com/jakubroztocil/httpie/compare/2.0.0...2.1.0 .. _2.1.0: https://github.com/jakubroztocil/httpie/compare/2.0.0...2.1.0
.. _2.2.0-dev: https://github.com/jakubroztocil/httpie/compare/2.1.0...master .. _2.2.0: https://github.com/jakubroztocil/httpie/compare/2.1.0...2.2.0
.. _#128: https://github.com/jakubroztocil/httpie/issues/128 .. _#128: https://github.com/jakubroztocil/httpie/issues/128

View File

@ -1404,6 +1404,8 @@ One of these options can be used to control output processing:
You can control the applied formatting via the ``--format-options`` option. You can control the applied formatting via the ``--format-options`` option.
The following options are available:
For example, this is how you would disable the default header and JSON key For example, this is how you would disable the default header and JSON key
sorting, and specify a custom JSON indent size: sorting, and specify a custom JSON indent size:
@ -1415,6 +1417,10 @@ sorting, and specify a custom JSON indent size:
This is something you will typically store as one of the default options in your This is something you will typically store as one of the default options in your
`config`_ file. See ``http --help`` for all the available formatting options. `config`_ file. See ``http --help`` for all the available formatting options.
There are also two shortcuts that allow you to quickly disable and re-enable
sorting-related format options (currently it means JSON keys and headers):
``--unsorted`` and ``--sorted``.
Binary data Binary data
----------- -----------

View File

@ -3,6 +3,6 @@ HTTPie - a CLI, cURL-like tool for humans.
""" """
__version__ = '2.2.0-dev' __version__ = '2.2.0'
__author__ = 'Jakub Roztocil' __author__ = 'Jakub Roztocil'
__licence__ = 'BSD' __licence__ = 'BSD'