mirror of
https://github.com/httpie/cli.git
synced 2024-11-22 15:53:13 +01:00
Clean-up
This commit is contained in:
parent
1124d68946
commit
41e822ca2f
@ -318,7 +318,7 @@ shortcuts for other protocols than HTTP:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ alias https="http --default-scheme https"
|
$ alias https='http --default-scheme=https'
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
|
@ -89,7 +89,7 @@ positional.add_argument(
|
|||||||
metavar='URL',
|
metavar='URL',
|
||||||
help="""
|
help="""
|
||||||
The scheme defaults to 'http://' if the URL does not include one.
|
The scheme defaults to 'http://' if the URL does not include one.
|
||||||
(You can override this with: --default-scheme https)
|
(You can override this with: --default-scheme=https)
|
||||||
|
|
||||||
You can also use a shorthand for localhost
|
You can also use a shorthand for localhost
|
||||||
|
|
||||||
@ -616,7 +616,7 @@ troubleshooting.add_argument(
|
|||||||
'--default-scheme',
|
'--default-scheme',
|
||||||
default="http",
|
default="http",
|
||||||
help="""
|
help="""
|
||||||
Default scheme to use if not specified in the URL.
|
The default scheme to use if not specified in the URL.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user