FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-90300: split --help output into separate options by merwok · Pull Request #30331 · python/cpython · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
225c869
move list of X options out of help output
Jan 2, 2022
eaefd1a
mention help option in fatal error message
Jan 2, 2022
57fd33b
move variable declaration out of case block
Jan 2, 2022
55dbf69
move extra envvars help to separate option
Jan 2, 2022
0aaf9af
doc
Jan 2, 2022
a592003
add minimal tests
Jan 2, 2022
1c4cf63
flatten the sub-switch
Jan 2, 2022
d8bfcff
suggestion from Barry
merwok Jan 3, 2022
38f2dd8
more suggestions from flufl
merwok Jan 3, 2022
a828fe8
remove unnecessary
Jan 7, 2022
8bde4ec
mention all envvars in --help-env
Jan 7, 2022
0dbaf03
mistake
Jan 7, 2022
0c9a995
introduce --help-xoptions
Jan 12, 2022
aab464f
add --help-all
Jan 12, 2022
064d4ad
merge upstream
Jan 12, 2022
b9a0b19
replace fprintf by printf; remove extra blanklines
Jan 15, 2022
0ee24d4
merge upstream
Feb 9, 2022
dd2beaa
Merge branch 'main' into shorten-help-output
Apr 11, 2022
c74fc69
merge upstream
May 5, 2022
2f108fe
merge upstream
May 23, 2022
4f345e8
check return code in verify_valid_flag
May 23, 2022
a6573d6
remove duplicate check
May 24, 2022
da97a38
fix some help texts in 80 columns
May 24, 2022
98525b4
remove needless checks
May 25, 2022
5585095
reformat and rearrange some help entries
May 25, 2022
24526bd
fix formatting issues and missing info in man page and --help
May 25, 2022
0bb5dfa
make new tests a bit more useful
May 25, 2022
8fa72f5
512 bytes should be enough for everyone
May 25, 2022
29d04a0
keep long option at the end of help text
May 26, 2022
356d1bf
merge branch 'fix-help-man'
May 26, 2022
ac1b5fb
fix tests and output
May 26, 2022
9bcea95
final fixes
May 26, 2022
5485255
merge upstream
May 29, 2022
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
remove duplicate check
  • Loading branch information
Éric Araujo committed May 24, 2022
commit a6573d6e1eaf266ba7b0a04f88efa879142d0d4f
3 changes: 1 addition & 2 deletions Lib/test/test_cmd_line.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def test_directories(self):
assert_python_failure('< .')

def verify_valid_flag(self, cmd_line):
rc, out, err = assert_python_ok(*cmd_line)
self.assertEqual(rc, 0)
_, out, err = assert_python_ok(*cmd_line)
self.assertTrue(out == b'' or out.endswith(b'\n'))
self.assertNotIn(b'Traceback', out)
self.assertNotIn(b'Traceback', err)
Expand Down

Back | FazBrowse Home | New Git URL