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
'Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.',
`Flag ${chalk.white.bold(`--${firstUse}`)} and ${chalk.white.bold(`--${secondUse}`)} cannot both request that their value comes from standard input at the same time.`,
204
+
);
205
+
}
206
+
195
207
default: {
196
208
constcliMetadata=useCLIMetadata();
197
209
@@ -222,7 +234,12 @@ export class CommandError extends Error {
222
234
base.push(`is ambiguous (meaning the provided value could be interpreted as a flag too).`);
223
235
224
236
if(flagData.ambiguousMessage){
225
-
base.push(`\n${flagData.ambiguousMessage}`);
237
+
base.push(
238
+
`\n${flagData.ambiguousMessage
239
+
.split('\n')
240
+
.map((line)=>` ${line}`)
241
+
.join('\n')}`,
242
+
);
226
243
}else{
227
244
base.push(`To solve this, provide the flag like this: --${flagData.name}=<value>`);
0 commit comments