mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -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
@@ -319,9 +319,15 @@ def fetch_assets() -> dict[str, int]:
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(allow_abbrev=False, description=__doc__.split("\n")[0])
|
||||
parser.add_argument("--db", default="database.json")
|
||||
parser.add_argument("--gitignore", default=".gitignore")
|
||||
parser.add_argument("--json", action="store_true")
|
||||
parser.add_argument(
|
||||
"--db", default="database.json",
|
||||
help="database file to read (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--gitignore", default=".gitignore",
|
||||
help="the .gitignore listing release-asset files (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument("--json", action="store_true", help="JSON output")
|
||||
parser.add_argument(
|
||||
"--notes", metavar="FILE",
|
||||
help="write the release page rendered from the collection to FILE",
|
||||
|
||||
Reference in new issue
Block a user