Skip to content

Commit

Permalink
Removed -s / --save_last_frame flag from CLI arguments (#3528)
Browse files Browse the repository at this point in the history
* Remove -s flag

* Make help text more verbose
  • Loading branch information
Gixtox authored Jan 24, 2024
1 parent 8264595 commit 7006d6b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions manim/cli/render/render_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ def validate_resolution(ctx, param, value):
type=Choice(["png", "gif", "mp4", "webm", "mov"], case_sensitive=False),
default=None,
),
option("-s", "--save_last_frame", is_flag=True, default=None),
option(
"-s",
"--save_last_frame",
default=None,
is_flag=True,
help="Render and save only the last frame of a scene as a PNG image.",
),
option(
"-q",
"--quality",
Expand Down Expand Up @@ -123,13 +129,6 @@ def validate_resolution(ctx, param, value):
is_flag=True,
help="Save section videos in addition to movie file.",
),
option(
"-s",
"--save_last_frame",
default=None,
is_flag=True,
help="Save last frame as png (Deprecated).",
),
option(
"-t",
"--transparent",
Expand Down

0 comments on commit 7006d6b

Please sign in to comment.