diff options
author | Rob Mensching <rob@firegiant.com> | 2018-10-24 21:02:24 -0700 |
---|---|---|
committer | Rob Mensching <rob@robmensching.com> | 2018-10-24 21:17:34 -0700 |
commit | a5c63c90a02665267c11c8bf2c653fd6db8d0107 (patch) | |
tree | ebd38c870168ec613bc36b0ddf9d34d9e6e78b8e /src/WixToolset.Core/CommandLine/VersionCommand.cs | |
parent | 0ecb2ac1ba28d33b0b3d17a2d7134d2f5485814d (diff) | |
download | wix-a5c63c90a02665267c11c8bf2c653fd6db8d0107.tar.gz wix-a5c63c90a02665267c11c8bf2c653fd6db8d0107.tar.bz2 wix-a5c63c90a02665267c11c8bf2c653fd6db8d0107.zip |
Update to command-line parsing re-organization
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 | } |