Skip to content

Commit ae0c380

Browse files
committed
Improve -*prefix-map help text
Before: ``` -coverage-prefix-map <value> -debug-prefix-map <value> ``` After: ``` -coverage-prefix-map <prefix=replacement> -debug-prefix-map <prefix=replacement> ```
1 parent 171e0e2 commit ae0c380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Option/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,10 +756,10 @@ def gdwarf_types : Flag<["-"], "gdwarf-types">,
756756
HelpText<"Emit full DWARF type info.">;
757757
def debug_prefix_map : Separate<["-"], "debug-prefix-map">,
758758
Flags<[FrontendOption]>,
759-
HelpText<"Remap source paths in debug info">;
759+
HelpText<"Remap source paths in debug info">, MetaVarName<"<prefix=replacement>">;
760760
def coverage_prefix_map : Separate<["-"], "coverage-prefix-map">,
761761
Flags<[FrontendOption]>,
762-
HelpText<"Remap source paths in coverage info">;
762+
HelpText<"Remap source paths in coverage info">, MetaVarName<"<prefix=replacement>">;
763763

764764
def debug_info_format : Joined<["-"], "debug-info-format=">,
765765
Flags<[FrontendOption]>,

0 commit comments

Comments
 (0)