mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 20:43:56 +08:00
Removed nargs from several bit of configuration
This commit is contained in:
@ -80,7 +80,6 @@ def parse_cli():
|
|||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-n", "--start_at_animation_number",
|
"-n", "--start_at_animation_number",
|
||||||
nargs=1,
|
|
||||||
help="Start rendering not from the first animation, but"
|
help="Start rendering not from the first animation, but"
|
||||||
"from another, specified by its index. If you pass"
|
"from another, specified by its index. If you pass"
|
||||||
"in two comma separated values, e.g. \"3,6\", it will end"
|
"in two comma separated values, e.g. \"3,6\", it will end"
|
||||||
@ -88,12 +87,10 @@ def parse_cli():
|
|||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-r", "--resolution",
|
"-r", "--resolution",
|
||||||
nargs=1,
|
|
||||||
help="Resolution, passed as \"height,width\"",
|
help="Resolution, passed as \"height,width\"",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-c", "--color",
|
"-c", "--color",
|
||||||
nargs=1,
|
|
||||||
help="Background color",
|
help="Background color",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Reference in New Issue
Block a user