You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.description('Run command line args directly to the Unity Editor.')
344
-
.option('-e, --unity-editor <unityEditorPath>','The path to the Unity Editor executable. If unspecified, -u, --unity-project or the UNITY_EDITOR_PATH environment variable must be set.')
345
-
.option('-p, --unity-project <unityProjectPath>','The path to a Unity project. If unspecified, the UNITY_PROJECT_PATH environment variable or the current working directory will be used.')
343
+
.option('--unity-editor <unityEditorPath>','The path to the Unity Editor executable. If unspecified, --unity-project or the UNITY_EDITOR_PATH environment variable must be set.')
344
+
.option('--unity-project <unityProjectPath>','The path to a Unity project. If unspecified, the UNITY_PROJECT_PATH environment variable or the current working directory will be used.')
346
345
.option('--log-name <logName>','The name of the log file.')
347
-
.allowUnknownOption(true)
348
-
.argument('<args...>','Arguments to pass to the Unity Editor executable.')
349
346
.option('--verbose','Enable verbose logging.')
347
+
.argument('<args...>','Arguments to pass to the Unity Editor executable.')
350
348
.action(async(args: string[],options)=>{
351
349
if(options.verbose){
352
350
Logger.instance.logLevel=LogLevel.DEBUG;
@@ -374,7 +372,7 @@ program.command('run')
374
372
}
375
373
376
374
if(!unityEditor){
377
-
thrownewError('The Unity Editor path was not specified. Use -e or --unity-editor to specify it, or set the UNITY_EDITOR_PATH environment variable.');
375
+
thrownewError('The Unity Editor path was not specified. Use --unity-editor to specify it or set the UNITY_EDITOR_PATH environment variable.');
0 commit comments