Skip to content

Commit

Permalink
Improve -*prefix-map help text
Browse files Browse the repository at this point in the history
Before:

```
-coverage-prefix-map <value>
-debug-prefix-map <value>
```

After:

```
-coverage-prefix-map <prefix=replacement>
-debug-prefix-map <prefix=replacement>
```
  • Loading branch information
keith committed Oct 7, 2020
1 parent 171e0e2 commit ae0c380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/swift/Option/Options.td
Expand Up @@ -756,10 +756,10 @@ def gdwarf_types : Flag<["-"], "gdwarf-types">,
HelpText<"Emit full DWARF type info.">;
def debug_prefix_map : Separate<["-"], "debug-prefix-map">,
Flags<[FrontendOption]>,
HelpText<"Remap source paths in debug info">;
HelpText<"Remap source paths in debug info">, MetaVarName<"<prefix=replacement>">;
def coverage_prefix_map : Separate<["-"], "coverage-prefix-map">,
Flags<[FrontendOption]>,
HelpText<"Remap source paths in coverage info">;
HelpText<"Remap source paths in coverage info">, MetaVarName<"<prefix=replacement>">;

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

0 comments on commit ae0c380

Please sign in to comment.