diff --git a/llvm/tools/dsymutil/Options.td b/llvm/tools/dsymutil/Options.td --- a/llvm/tools/dsymutil/Options.td +++ b/llvm/tools/dsymutil/Options.td @@ -44,7 +44,7 @@ HelpText<"Parse and dump the debug map to standard output. Not DWARF link will take place.">, Group; -def yaml_input: F<"y">, +def yaml_input: Flag<["-", "--"], "y">, HelpText<"Treat the input file is a YAML debug map rather than a binary.">, Group; @@ -52,7 +52,7 @@ HelpText<"Embed warnings in the linked DWARF debug info.">, Group; -def assembly: F<"S">, +def assembly: Flag<["-", "--"], "S">, HelpText<"Output textual assembly instead of a binary dSYM companion file.">, Group; @@ -93,16 +93,16 @@ HelpText<"Alias for --update">, Group; -def output: Separate<["--", "-"], "o">, +def output: Separate<["-", "--"], "o">, MetaVarName<"">, HelpText<"Specify the output file. Defaults to .dwarf">, Group; def: Separate<["--", "-"], "out">, Alias, - HelpText<"Alias for --o">, + HelpText<"Alias for -o">, Group; def: Joined<["--", "-"], "out=">, Alias; -def: Joined<["--", "-"], "o=">, Alias; +def: Joined<["-", "--"], "o=">, Alias; def oso_prepend_path: Separate<["--", "-"], "oso-prepend-path">, MetaVarName<"">,