We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06355c2 commit 8f54f45Copy full SHA for 8f54f45
tldr.py
@@ -593,14 +593,17 @@ def create_parser() -> ArgumentParser:
593
action='store_true',
594
help="Delete the local cache of pages and exit")
595
596
+ all_platforms = sorted(set(OS_DIRECTORIES.values()))
597
+ platforms_str = "[" + ", ".join(all_platforms) + "]"
598
+
599
parser.add_argument(
600
'-p', '--platform',
601
nargs=1,
602
default=None,
603
type=str,
- choices=list(OS_DIRECTORIES),
604
+ choices=all_platforms,
605
metavar='PLATFORM',
- help="Override the operating system " + str(list(OS_DIRECTORIES))
606
+ help=f"Override the operating system {platforms_str}"
607
)
608
609
parser.add_argument('-l', '--list',
0 commit comments