|
10 | 10 | using Microsoft.DotNet.Cli.Commands.Build; |
11 | 11 | using Microsoft.DotNet.Cli.Commands.BuildServer; |
12 | 12 | using Microsoft.DotNet.Cli.Commands.Clean; |
| 13 | +using Microsoft.DotNet.Cli.Commands.Dnx; |
13 | 14 | using Microsoft.DotNet.Cli.Commands.Format; |
14 | 15 | using Microsoft.DotNet.Cli.Commands.Fsi; |
15 | 16 | using Microsoft.DotNet.Cli.Commands.Help; |
@@ -66,6 +67,7 @@ public static class Parser |
66 | 67 | BuildCommandParser.GetCommand(), |
67 | 68 | BuildServerCommandParser.GetCommand(), |
68 | 69 | CleanCommandParser.GetCommand(), |
| 70 | + DnxCommandParser.GetCommand(), |
69 | 71 | FormatCommandParser.GetCommand(), |
70 | 72 | CompleteCommandParser.GetCommand(), |
71 | 73 | FsiCommandParser.GetCommand(), |
@@ -313,12 +315,15 @@ public override void Write(HelpContext context) |
313 | 315 | { |
314 | 316 | var command = context.Command; |
315 | 317 | var helpArgs = new string[] { "--help" }; |
| 318 | + |
| 319 | + // custom help overrides |
316 | 320 | if (command.Equals(RootCommand)) |
317 | 321 | { |
318 | 322 | Console.Out.WriteLine(CliUsage.HelpText); |
319 | 323 | return; |
320 | 324 | } |
321 | 325 |
|
| 326 | + // argument/option cleanups specific to help |
322 | 327 | foreach (var option in command.Options) |
323 | 328 | { |
324 | 329 | option.EnsureHelpName(); |
|
0 commit comments