We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2acdaa0 commit 824c681Copy full SHA for 824c681
2 files changed
OnlyMod/EngineOnlyMod/__main__.py
@@ -145,8 +145,10 @@ def main():
145
)
146
parser.add_argument(
147
"--prog-engine",
148
+ nargs="?",
149
+ const="",
150
metavar="ENGINE_ID",
- help="Launch GUI focused on one engine tab only",
151
+ help="Launch prog-engine GUI (optional ENGINE_ID, otherwise load all engines)",
152
153
154
"-f",
@@ -185,7 +187,10 @@ def main():
185
187
# Mode CLI
186
188
return run_cli(args)
189
else:
- if args.prog_engine:
190
+ if args.prog_engine is not None:
191
+ if not args.workspace:
192
+ print("Error: --prog-engine requires --workspace <path>")
193
+ return 1
194
return launch_prog_engine_gui(
195
engine_id=args.prog_engine,
196
workspace_dir=args.workspace,
0 commit comments