diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/HelpCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/HelpCommand.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core/CommandLine/HelpCommand.cs b/src/WixToolset.Core/CommandLine/HelpCommand.cs index 224b154c..78845189 100644 --- a/src/WixToolset.Core/CommandLine/HelpCommand.cs +++ b/src/WixToolset.Core/CommandLine/HelpCommand.cs | |||
| @@ -1,8 +1,10 @@ | |||
| 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. | 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 | 2 | ||
| 3 | namespace WixToolset.Core.CommandLine | 3 | namespace WixToolset.Core.CommandLine |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | using System.Threading; | ||
| 7 | using System.Threading.Tasks; | ||
| 6 | using WixToolset.Extensibility.Data; | 8 | using WixToolset.Extensibility.Data; |
| 7 | using WixToolset.Extensibility.Services; | 9 | using WixToolset.Extensibility.Services; |
| 8 | 10 | ||
| @@ -12,11 +14,11 @@ namespace WixToolset.Core.CommandLine | |||
| 12 | 14 | ||
| 13 | public bool StopParsing => true; | 15 | public bool StopParsing => true; |
| 14 | 16 | ||
| 15 | public int Execute() | 17 | public Task<int> ExecuteAsync(CancellationToken _) |
| 16 | { | 18 | { |
| 17 | Console.WriteLine("TODO: Show list of available commands"); | 19 | Console.WriteLine("TODO: Show list of available commands"); |
| 18 | 20 | ||
| 19 | return -1; | 21 | return Task.FromResult(-1); |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | public bool TryParseArgument(ICommandLineParser parseHelper, string argument) | 24 | public bool TryParseArgument(ICommandLineParser parseHelper, string argument) |
