Skip to content

Commit 299428b

Browse files
authored
Clarified pip --upgrade option and fixed output (#1240)
1 parent 66b3a2b commit 299428b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

source/guides/installing-stand-alone-command-line-tools.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ For example:
6666
\
6767
^__^
6868
(oo)\_______
69-
(__)\ )\/ ||----w |
69+
(__)\ )\/
7070
|| ||
71+
||----w |
72+
7173
7274
To see a list of packages installed with pipx and which applications are
7375
available, use ``pipx list``:
@@ -103,14 +105,14 @@ pipx can be upgraded or uninstalled with pip:
103105

104106
.. code-block:: bash
105107
106-
python3 -m pip install -U pipx
108+
python3 -m pip install --upgrade pipx
107109
python3 -m pip uninstall pipx
108110
109111
.. tab:: Windows
110112

111113
.. code-block:: bat
112114
113-
py -m pip install -U pipx
115+
py -m pip install --upgrade pipx
114116
py -m pip uninstall pipx
115117
116118
pipx also allows you to install and run the latest version of an application

source/tutorials/creating-documentation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Use ``pip`` to install Sphinx:
1818

1919
.. code-block:: bash
2020
21-
python3 -m pip install -U sphinx
21+
python3 -m pip install --upgrade sphinx
2222
2323
.. tab:: Windows
2424

2525
.. code-block:: bat
2626
27-
py -m pip install -U sphinx
27+
py -m pip install --upgrade sphinx
2828
2929
For other installation methods, see this :doc:`installation guide <sphinx:usage/installation>` by Sphinx.
3030

0 commit comments

Comments
 (0)