forked from Riesi/frog_emojis_old
[doc] specify what -r defaults are
This commit is contained in:
parent
87aaf9e5d8
commit
dcb59ee9de
|
@ -32,6 +32,6 @@ gen_png.py [OPTION]
|
||||||
-h, --help Shows this help message.
|
-h, --help Shows this help message.
|
||||||
-a, --all Generate PNGs of all SVGs.
|
-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.
|
-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.
|
-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.
|
||||||
```
|
```
|
||||||
|
|
|
@ -93,7 +93,7 @@ def main():
|
||||||
help="Generate PNGs for each S in the \"svg\" folder. " +
|
help="Generate PNGs for each S in the \"svg\" folder. " +
|
||||||
"The '.svg' suffix is optional.")
|
"The '.svg' suffix is optional.")
|
||||||
parser.add_argument("-r", "--resolution", metavar='R', type=int, nargs="+",
|
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",
|
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. " +
|
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.")
|
"Requires 'git' to be installed and located in PATH.")
|
||||||
|
|
Loading…
Reference in New Issue