From 96e37e0511fa77885c7830a784df24b66538910a Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 13 Sep 2023 17:54:46 +0100 Subject: [PATCH] Legacy Driver: Make `--ld-path` option consistently use single dash The vast majority of other options on Swift Driver already use a single dash. --- include/swift/Option/Options.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/swift/Option/Options.td b/include/swift/Option/Options.td index e7b3dd1d5d4be..2b3fe7b5c4897 100644 --- a/include/swift/Option/Options.td +++ b/include/swift/Option/Options.td @@ -905,7 +905,7 @@ def use_ld : Joined<["-"], "use-ld=">, Flags<[DoesNotAffectIncrementalBuild]>, HelpText<"Specifies the flavor of the linker to be used">; -def ld_path : Joined<["--"], "ld-path=">, +def ld_path : Joined<["-"], "ld-path=">, Flags<[HelpHidden, DoesNotAffectIncrementalBuild, ArgumentIsPath]>, HelpText<"Specifies the path to the linker to be used">;