Defining multiple values for supported options

This commit is contained in:
Devesh Kumar Singh 2020-03-28 17:31:13 +05:30 committed by Xavier Fernandez
parent 4381493c52
commit 326efa5c71
2 changed files with 11 additions and 1 deletions

View File

@ -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
---------------------

1
news/7803.doc Normal file
View File

@ -0,0 +1 @@
Added example of defining multiple values for options which support them