Skip to content

Commit

Permalink
Add -C as a short version of --config-settings (#11786)
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 authored Feb 28, 2023
1 parent 61e85bf commit 30fd549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/short-config-settings-option.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``-C`` as a short version of the ``--config-settings`` option.
1 change: 1 addition & 0 deletions src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ def _handle_config_settings(

config_settings: Callable[..., Option] = partial(
Option,
"-C",
"--config-settings",
dest="config_settings",
type=str,
Expand Down

0 comments on commit 30fd549

Please sign in to comment.