mirror of https://github.com/pypa/pip
Defining multiple values for supported options
This commit is contained in:
parent
4381493c52
commit
326efa5c71
|
@ -440,7 +440,9 @@ and ``--no-cache-dir``, falsy values have to be used:
|
|||
no-compile = no
|
||||
no-warn-script-location = false
|
||||
|
||||
Appending options like ``--find-links`` can be written on multiple lines:
|
||||
It is possible to append values to a section within a configuration file such as the pip.ini file.
|
||||
This is applicable to appending options like ``--find-links`` or ``--trusted-host``,
|
||||
which can be written on multiple lines:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
@ -453,6 +455,13 @@ Appending options like ``--find-links`` can be written on multiple lines:
|
|||
http://mirror1.example.com
|
||||
http://mirror2.example.com
|
||||
|
||||
[install]
|
||||
trusted-host =
|
||||
http://mirror1.example.com
|
||||
http://mirror2.example.com
|
||||
|
||||
This enables users to add additional values in the order of entry for such command line arguments.
|
||||
|
||||
|
||||
Environment Variables
|
||||
---------------------
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Added example of defining multiple values for options which support them
|
Loading…
Reference in New Issue