Skip to content

Commit 083ffe0

Browse files
Added note to let users find documentation of default CLI subcommand easier (#2730)
* adding hint in the help page that the `render` command is invoked automatically for if you call `manim` * fixing format string * fixed note for the epilog * replaced the backticks with the normal (') ones * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removing the trailing free line in constants.py * fixing import issue * adjusted the help-page output note * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4a99cea commit 083ffe0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

manim/__main__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ def exit_early(ctx, param, value):
2929
default="render",
3030
no_args_is_help=True,
3131
help="Animation engine for explanatory math videos.",
32-
epilog="See 'manim <command>' to read about a specific subcommand.\n\n" + EPILOG,
32+
epilog="See 'manim <command>' to read about a specific subcommand.\n\n"
33+
"Note: the subcommand 'manim render' is called if no other subcommand "
34+
"is specified. Run 'manim render --help' if you would like to know what the "
35+
f"'-ql' or '-p' flags do, for example.\n\n{EPILOG}",
3336
)
3437
@click.option(
3538
"--version",

0 commit comments

Comments
 (0)