From bd780b20f34e38379e5f5f600dd3cedce80a1c2e Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Sat, 16 Sep 2023 15:46:00 -0500 Subject: [PATCH] Print help when running `orca source` --- scripts/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/source.py b/scripts/source.py index 5266cb4..f037137 100644 --- a/scripts/source.py +++ b/scripts/source.py @@ -11,7 +11,7 @@ from .version import src_dir, orca_version def attach_source_commands(subparsers): source_cmd = subparsers.add_parser("source", help="Commands for helping compile the Orca source code into your project.") - source_sub = source_cmd.add_subparsers(title="commands") + source_sub = source_cmd.add_subparsers(required=True, title="commands") cflags_cmd = source_sub.add_parser("cflags", help="Get help setting up a C or C++ compiler to compile the Orca source.") cflags_cmd.add_argument("srcdir", nargs="?", default=src_dir(), help="the directory containing the Orca source code (defaults to system installation)") -- 2.25.1