[doc] specify what -r defaults are

This commit is contained in:
Miepee 2022-02-04 12:43:11 +01:00
parent 87aaf9e5d8
commit dcb59ee9de
2 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,6 @@ gen_png.py [OPTION]
-h, --help Shows this help message.
-a, --all Generate PNGs of all SVGs.
-s, --specific S [S ...] Generate PNGs for each S in the "svg" folder. The '.svg' suffix is optional.
-r, --resolution R [R ...] Custom resolutions that will be generated instead of the defaults.
-r, --resolution R [R ...] Custom resolutions that will be generated instead of the defaults (72, 512, 1024).
-g, --git Generates PNGs of SVGs that changed since last auto tag and creates a git commit with them. Requires 'git' to be installed and located in PATH.
```

View File

@ -93,7 +93,7 @@ def main():
help="Generate PNGs for each S in the \"svg\" folder. " +
"The '.svg' suffix is optional.")
parser.add_argument("-r", "--resolution", metavar='R', type=int, nargs="+",
help="Custom resolutions that will be generated instead of the defaults.")
help="Custom resolutions that will be generated instead of the defaults (72, 512, 1024).")
mutex_group.add_argument("-g", "--git", action="store_true",
help="Generates PNGs of SVGs that changed since last auto tag and creates a git commit with them. " +
"Requires 'git' to be installed and located in PATH.")