Display help if no input file is specified

This commit is contained in:
Devin Neal
2020-04-17 02:36:56 -07:00
parent 1bb2e8c237
commit c847988e10

View File

@ -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(