Bug 17090 – `dmd -transition=?` needs quoting => make it `-transition=help`
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2017-01-14T22:17:39Z
Last change time
2022-11-14T14:20:21Z
Assigned to
No Owner
Creator
Timothee Cour
Comments
Comment #0 by timothee.cour2 — 2017-01-14T22:17:39Z
this flag was just introduced (in beta) ; it's the *only* flag that requires quoting on a shell. Please use anything else than something that requires quoting. `eg: -transition=help`
more searchable (in code), easier to enter in shell, especially in more complex scenario.
IIRC standard compilers (gcc, clang etc) don't do that.
Comment #1 by code — 2017-01-15T00:46:57Z
It's not new and also used by -mcpu=?. I agree that `help` should be an alias for `?`.
Comment #2 by timothee.cour2 — 2017-01-15T02:44:55Z
>> I agree that `help` should be an alias for `?`.
or rather, vice versa and then deprecation path for `?`