Print help when running `orca source`
This commit is contained in:
parent
5b7e27f9fd
commit
bd780b20f3
|
@ -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)")
|
||||
|
|
Loading…
Reference in New Issue