Skip to content

Commit 2d37e5b

Browse files
authored
Legacy Driver: Make --ld-path option consistently use single dash (#68495)
The original `--ld-path` option hasn't been included in a released version yet, so it's ok to break. The vast majority of other options on Swift Driver already use a single dash.
1 parent 1927114 commit 2d37e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Option/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def use_ld : Joined<["-"], "use-ld=">,
905905
Flags<[DoesNotAffectIncrementalBuild]>,
906906
HelpText<"Specifies the flavor of the linker to be used">;
907907

908-
def ld_path : Joined<["--"], "ld-path=">,
908+
def ld_path : Joined<["-"], "ld-path=">,
909909
Flags<[HelpHidden, DoesNotAffectIncrementalBuild, ArgumentIsPath]>,
910910
HelpText<"Specifies the path to the linker to be used">;
911911

0 commit comments

Comments
 (0)