diff --git a/ICSharpCode.Decompiler.Console/IlspyCmdProgram.cs b/ICSharpCode.Decompiler.Console/IlspyCmdProgram.cs index f0c09892b..f3c9f4776 100644 --- a/ICSharpCode.Decompiler.Console/IlspyCmdProgram.cs +++ b/ICSharpCode.Decompiler.Console/IlspyCmdProgram.cs @@ -56,11 +56,11 @@ Remarks: [Option("--il-sequence-points", "Show IL with sequence points. Implies -il.", CommandOptionType.NoValue)] public bool ShowILSequencePointsFlag { get; } - [Option("-genpdb", "Generate PDB.", CommandOptionType.NoValue)] + [Option("-genpdb|--generate-pdb", "Generate PDB.", CommandOptionType.NoValue)] public bool CreateDebugInfoFlag { get; } [FileExistsOrNull] - [Option("-usepdb", "Use PDB.", CommandOptionType.SingleOrNoValue)] + [Option("-usepdb|--use-varnames-from-pdb", "Use variable names from PDB.", CommandOptionType.SingleOrNoValue)] public (bool IsSet, string Value) InputPDBFile { get; } [Option("-l|--list ", "Lists all entities of the specified type(s). Valid types: c(lass), i(nterface), s(truct), d(elegate), e(num)", CommandOptionType.MultipleValue)] diff --git a/ICSharpCode.Decompiler.Console/README.md b/ICSharpCode.Decompiler.Console/README.md index 11485ec36..bda653536 100644 --- a/ICSharpCode.Decompiler.Console/README.md +++ b/ICSharpCode.Decompiler.Console/README.md @@ -26,12 +26,14 @@ Options: -t|--type The fully qualified name of the type to decompile. -il|--ilcode Show IL code. --il-sequence-points Show IL with sequence points. Implies -il. - -genpdb Generate PDB. - -usepdb Use PDB. + -genpdb|--generate-pdb Generate PDB. + -usepdb|--use-varnames-from-pdb Use variable names from PDB. -l|--list Lists all entities of the specified type(s). Valid types: c(lass), i(nterface), s(truct), d(elegate), e(num) - -lv|--languageversion C# Language version: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7_0, CSharp7_1, CSharp7_2, CSharp7_3, CSharp8_0, CSharp9_0, CSharp_10_0 or Latest - -r|--referencepath Path to a directory containing dependencies of the assembly that is being decompiled. --no-dead-code Remove dead code. + -lv|--languageversion C# Language version: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7_0, + CSharp7_1, CSharp7_2, CSharp7_3, CSharp8_0, CSharp9_0, CSharp_10_0 or Latest + -r|--referencepath Path to a directory containing dependencies of the assembly that is being decompiled. + --no-dead-code Remove dead code. --no-dead-stores Remove dead stores. -d|--dump-package Dump package assembiles into a folder. This requires the output directory option.