Skip to content

Commit 30fd549

Browse files
authored
Add -C as a short version of --config-settings (#11786)
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 61e85bf commit 30fd549

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``-C`` as a short version of the ``--config-settings`` option.

src/pip/_internal/cli/cmdoptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,7 @@ def _handle_config_settings(
816816

817817
config_settings: Callable[..., Option] = partial(
818818
Option,
819+
"-C",
819820
"--config-settings",
820821
dest="config_settings",
821822
type=str,

0 commit comments

Comments
 (0)