bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

Unrecognized command-line arguments do not produce an error

Open dnovillo opened this issue 1 year ago • 2 comments

I recently mis-spelled a command-line argument that I had added to my application. This produced no error output from the execution. The argument was silently ignored.

If an argument is not handled by the built-in command-argument parser nor the application, an error should be emitted and execution aborted.

dnovillo avatar Jul 04 '23 17:07 dnovillo

Yeah, this is a long-running one. I think Angela's knob changes should remove the need for the current "getExtraParams" pattern, and enforce a stricter validation.

Keenuts avatar Jul 05 '23 15:07 Keenuts

Yeah, this is a long-running one. I think Angela's knob changes should remove the need for the current "getExtraParams" pattern, and enforce a stricter validation.

Great! Glad it's being addressed. @angela28chen I'll put this in your queue then 😄

dnovillo avatar Jul 05 '23 16:07 dnovillo