Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Display help if no input file is specified

Devin Nealc847988e1067
diff --git a/manimlib/config.py b/manimlib/config.py
index 39046120d..88c6632df 100644
--- a/manimlib/config.py
+++ b/manimlib/config.py
@@ -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(