diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/HelpCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/HelpCommand.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CommandLine/HelpCommand.cs b/src/WixToolset.Core/CommandLine/HelpCommand.cs new file mode 100644 index 00000000..1c101781 --- /dev/null +++ b/src/WixToolset.Core/CommandLine/HelpCommand.cs | |||
@@ -0,0 +1,30 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Core | ||
4 | { | ||
5 | using System; | ||
6 | |||
7 | internal class HelpCommand : ICommand | ||
8 | { | ||
9 | public HelpCommand(Commands command) | ||
10 | { | ||
11 | this.Command = command; | ||
12 | } | ||
13 | |||
14 | public Commands Command { get; } | ||
15 | |||
16 | public int Execute() | ||
17 | { | ||
18 | if (this.Command == Commands.Unknown) | ||
19 | { | ||
20 | Console.WriteLine(); | ||
21 | } | ||
22 | else | ||
23 | { | ||
24 | Console.WriteLine(); | ||
25 | } | ||
26 | |||
27 | return -1; | ||
28 | } | ||
29 | } | ||
30 | } | ||