Skip to content

Commit 48c3857

Browse files
authored
Update tldr.py : fix too long parser platform options
add multi line support
1 parent c8fada3 commit 48c3857

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tldr.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,11 @@ def create_parser() -> ArgumentParser:
519519
nargs=1,
520520
default=None,
521521
type=str,
522-
choices=['android', 'freebsd', 'linux', 'netbsd', 'openbsd', 'osx', 'sunos', 'windows', 'common'],
522+
choices=['android', 'freebsd', 'linux', 'netbsd', 'openbsd', 'osx', 'sunos',
523+
'windows', 'common'],
523524
metavar='PLATFORM',
524-
help="Override the operating system [android, freebsd, linux, netbsd, openbsd, osx, sunos, windows, common]"
525+
help="Override the operating system [android, freebsd, linux, netbsd, openbsd,"
526+
"osx, sunos, windows, common]"
525527
)
526528

527529
parser.add_argument('-l', '--list',

0 commit comments

Comments
 (0)