mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Display help if no input file is specified
This commit is contained in:
@ -11,10 +11,9 @@ import manimlib.constants
|
||||
def parse_cli():
|
||||
try:
|
||||
parser = argparse.ArgumentParser()
|
||||
module_location = parser.add_mutually_exclusive_group()
|
||||
module_location.add_argument(
|
||||
parser.add_argument(
|
||||
"file",
|
||||
nargs="?",
|
||||
nargs="+",
|
||||
help="path to file holding the python code for the scene",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
Reference in New Issue
Block a user