Skip to content

Commit

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

* Remove -s flag

* Make help text more verbose
  • Loading branch information
Gixtox authored and JasonGrace2282 committed Mar 31, 2024
1 parent ace6e7a commit 9105acd
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 9105acd

Please sign in to comment.