bpo-28647: Update -u documentation (GH-3954) · python/cpython@5f90800 (original) (raw)

Original file line number Diff line number Diff line change
@@ -71,9 +71,9 @@ static const char usage_2[] = "\
71 71 -S : don't imply 'import site' on initialization\n\
72 72 ";
73 73 static const char usage_3[] = "\
74 --u : unbuffered binary stdout and stderr, stdin always buffered;\n\
74 +-u : force the binary I/O layers of stdout and stderr to be unbuffered;\n\
75 + stdin is always buffered; text I/O layer will be line-buffered;\n\
75 76 also PYTHONUNBUFFERED=x\n\
76 - see man page for details on internal buffering relating to '-u'\n\
77 77 -v : verbose (trace import statements); also PYTHONVERBOSE=x\n\
78 78 can be supplied multiple times to increase verbosity\n\
79 79 -V : print the Python version number and exit (also --version)\n\