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.
--update
1 parent 6536569 commit ffaabb1Copy full SHA for ffaabb1
tldr.py
@@ -428,7 +428,7 @@ def create_parser() -> ArgumentParser:
428
type=str,
429
help="Search for a specific command from a query")
430
431
- parser.add_argument('-u', '--update_cache',
+ parser.add_argument('-u', '--update', '--update_cache',
432
action='store_true',
433
help="Update the local cache of pages and exit")
434
@@ -500,7 +500,7 @@ def main() -> None:
500
if options.color is False:
501
os.environ["FORCE_COLOR"] = "true"
502
503
- if options.update_cache:
+ if options.update:
504
update_cache(language=options.language)
505
return
506
elif len(sys.argv) == 1:
0 commit comments