Skip to content

Commit 8d0905e

Browse files
committed
feat: add BSD platforms to --platform option
1 parent 68acf05 commit 8d0905e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tldr.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,15 @@ def create_parser() -> ArgumentParser:
441441
nargs=1,
442442
default=None,
443443
type=str,
444-
choices=['linux', 'osx', 'sunos', 'windows', 'common'],
444+
choices=[
445+
'freebsd', 'linux', 'macos', 'netbsd', 'openbsd',
446+
'osx', 'sunos', 'windows', 'common'
447+
],
445448
metavar='PLATFORM',
446-
help="Override the operating system [linux, osx, sunos, windows, common]"
449+
help=(
450+
"Override the operating system "
451+
"[freebsd, linux, netbsd, openbsd, osx (macos), sunos, windows, common]"
452+
)
447453
)
448454

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

0 commit comments

Comments
 (0)