Commit 067412e
authored
Use brackets for the default value of option arguments (#1149)
The goal is to standardize the format of the help text printed
by pypa commands. It is not easy to choose between brackets `[]`
and parentheses `()`. I went for the docopt style, which is the
closest to a standard I could find:
http://docopt.org/
[...] and whether that argument has a default value ([default: 10]).
This change has already been applied to setuptools:
pypa/setuptools#44421 parent f32dc35 commit 067412e
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments