Bug 16409 – Add support for assign-style switches

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-08-21T10:16:00Z
Last change time
2016-10-01T11:48:29Z
Assigned to
andrej.mitrovich
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2016-08-21T10:16:41Z
Currently auto-complete in terminals doesn't work with DMD's glued swiches, e.g. typing -odsome/dir disallows tab-completion. This similar issue https://issues.dlang.org/show_bug.cgi?id=12759 requests `-of filename` and `-od objdir` support. Even though I like that idea there is already a precedent for using `=` for switches in DMD, so this enhancement request might have a better chance of being accepted.
Comment #1 by andrej.mitrovich — 2016-08-21T10:41:25Z
Renamed issue, I want this for -I, -J, and all other types of switches which take a path.
Comment #2 by andrej.mitrovich — 2016-08-21T11:47:49Z
Comment #3 by github-bugzilla — 2016-08-22T20:03:20Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e3c9f21acac9c086b98389185d917952e0b397cb Fix Issue 16409 - Add support for assign switches All switches taking values now allow the -switch=<name> syntax. The list of new switches which support this include: -Dd=<directory> -Df=<filename> -Hd=<directory> -Hf=<filename> -I=<directory> -J=<directory> -L=<linkerflag> -od=<dirname> -of=<objname> -Xf=<filename> https://github.com/dlang/dmd/commit/cf44ea035db85a7551391a6df532a671dc7c31ff Merge pull request #6070 from AndrejMitrovic/assign-switch Issue 16409 - Add support for assign-style switches
Comment #4 by andrej.mitrovich — 2016-08-22T23:54:08Z
*** Issue 16122 has been marked as a duplicate of this issue. ***
Comment #5 by github-bugzilla — 2016-10-01T11:48:29Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e3c9f21acac9c086b98389185d917952e0b397cb Fix Issue 16409 - Add support for assign switches https://github.com/dlang/dmd/commit/cf44ea035db85a7551391a6df532a671dc7c31ff Merge pull request #6070 from AndrejMitrovic/assign-switch