diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/VersionCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/VersionCommand.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CommandLine/VersionCommand.cs b/src/WixToolset.Core/CommandLine/VersionCommand.cs index e67aafb8..1baee72d 100644 --- a/src/WixToolset.Core/CommandLine/VersionCommand.cs +++ b/src/WixToolset.Core/CommandLine/VersionCommand.cs | |||
@@ -4,9 +4,14 @@ namespace WixToolset.Core.CommandLine | |||
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using WixToolset.Extensibility.Data; | 6 | using WixToolset.Extensibility.Data; |
7 | using WixToolset.Extensibility.Services; | ||
7 | 8 | ||
8 | internal class VersionCommand : ICommandLineCommand | 9 | internal class VersionCommand : ICommandLineCommand |
9 | { | 10 | { |
11 | public bool ShowLogo => true; | ||
12 | |||
13 | public bool StopParsing => true; | ||
14 | |||
10 | public int Execute() | 15 | public int Execute() |
11 | { | 16 | { |
12 | Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion); | 17 | Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion); |
@@ -14,5 +19,10 @@ namespace WixToolset.Core.CommandLine | |||
14 | 19 | ||
15 | return 0; | 20 | return 0; |
16 | } | 21 | } |
22 | |||
23 | public bool TryParseArgument(ICommandLineParser parseHelper, string argument) | ||
24 | { | ||
25 | return true; // eat any arguments | ||
26 | } | ||
17 | } | 27 | } |
18 | } | 28 | } |