A prompt of only spaces to --print now gets its own clear error.
What's wrong with this entry?
Passing a prompt that contains only spaces or newlines to --print now reports that specifically instead of the generic missing-input error.
- Message:
Error: Input contained only whitespace. Provide a prompt with text through stdin or as a prompt argument when using --print.
Error: Input contained only whitespace. Provide a prompt with text through stdin or as a prompt argument when using --print
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.242
--printwith--cloudcan message an existing cloud sessionBoth mention print
-
v2.1.239
One shared test for whether a run is headless
Both mention print
-
v2.1.238
Print mode can reuse one engine across prompts
Both mention print