Skip to content

Commit

Permalink
chore(cli): fix and improve help messages (#191)
Browse files Browse the repository at this point in the history
A very small PR to fix an error in an help message, and improve the verbosity one.
  • Loading branch information
jeertmans authored May 23, 2023
1 parent ff2be68 commit 4fd3452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manim_slides/commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def callback(ctx: Context, param: Parameter, value: bool) -> None:
["PERF", "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
case_sensitive=False,
),
help="Verbosity of CLI output",
help="Verbosity of CLI output. PERF will log performances (timing) information.",
default=None,
expose_value=False,
envvar="MANIM_SLIDES_VERBOSITY",
Expand Down
2 changes: 1 addition & 1 deletion manim_slides/present.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def str_to_int_or_none(value: str) -> Optional[int]:
"-s",
"--skip-all",
is_flag=True,
help="Skip all slides, useful the test if slides are working. Automatically sets `--skip-after-last-slide` to True.",
help="Skip all slides, useful the test if slides are working. Automatically sets `--exit-after-last-slide` to True.",
)
@click.option(
"-r",
Expand Down

0 comments on commit 4fd3452

Please sign in to comment.