mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -05:00
docs: give every command-line option a help text
This commit is contained in:
1 parent
18cca66e58
commit
04deb95a35
34 files changed
+412
-102
No files matched your search
@@ -756,8 +756,14 @@ def generate_contributing() -> str:
|
||||
|
||||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(allow_abbrev=False, description="Generate slim README.md")
|
||||
parser.add_argument("--db", default="database.json")
|
||||
parser.add_argument("--platforms-dir", default="platforms")
|
||||
parser.add_argument(
|
||||
"--db", default="database.json",
|
||||
help="database file to read (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--platforms-dir", default="platforms",
|
||||
help="platform YAML directory (default: %(default)s)",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
db = load_database(args.db)
|
||||
|
||||
Reference in new issue
Block a user