mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
gh-90300: Fix cmdline.rst (GH-116721)
* Fix the description of the "-b" option. * Add references to environment variables for "-s" and "-X dev" options.
This commit is contained in:
parent
617aca9e74
commit
33662d4e01
2 changed files with 10 additions and 7 deletions
|
@ -142,8 +142,8 @@ static const char usage_line[] =
|
|||
/* Lines sorted by option name; keep in sync with usage_envvars* below */
|
||||
static const char usage_help[] = "\
|
||||
Options (and corresponding environment variables):\n\
|
||||
-b : issue warnings about str(bytes_instance), str(bytearray_instance)\n\
|
||||
and comparing bytes/bytearray with str. (-bb: issue errors)\n\
|
||||
-b : issue warnings about converting bytes/bytearray to str and comparing\n\
|
||||
bytes/bytearray with str or bytes with int. (-bb: issue errors)\n\
|
||||
-B : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x\n\
|
||||
-c cmd : program passed in as string (terminates option list)\n\
|
||||
-d : turn on parser debugging output (for experts only, only works on\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue