Skip to content

Commit

Permalink
feat: add BSD platforms to --platform option
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Feb 26, 2024
1 parent 68acf05 commit 8d0905e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tldr.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,15 @@ def create_parser() -> ArgumentParser:
nargs=1,
default=None,
type=str,
choices=['linux', 'osx', 'sunos', 'windows', 'common'],
choices=[
'freebsd', 'linux', 'macos', 'netbsd', 'openbsd',
'osx', 'sunos', 'windows', 'common'
],
metavar='PLATFORM',
help="Override the operating system [linux, osx, sunos, windows, common]"
help=(
"Override the operating system "
"[freebsd, linux, netbsd, openbsd, osx (macos), sunos, windows, common]"
)
)

parser.add_argument('-l', '--list',
Expand Down

0 comments on commit 8d0905e

Please sign in to comment.