February 09, 2021 [Issue 21624] New: Typo in `--DRT` or using `help` does not make the program exit | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21624 Issue ID: 21624 Summary: Typo in `--DRT` or using `help` does not make the program exit Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: pro.mathias.lang@gmail.com It is a common expectation for users that using `--help` on a program will *NOT* start the program. Likewise, when a user makes a typo in the arguments passed to a program, the program should *NOT* start. The arguments parsing in DRuntime doesn't do any of this. `--DRT-gcopts=foo` (notice the extra 's' after `gcopt`) will happily run the program, and so will `--DRT-gcopt=help`. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply