diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-12 21:54:24 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-12 21:54:24 -0700 |
commit | d16eb4dbbef5e29b4096f8d378253d4d3ca85a82 (patch) | |
tree | fa1e197a3feb01cf4ce71c6810d559e690cd7e0d | |
parent | 22497cb5c93d99a3ef81f170cf28b22ba54a2db8 (diff) | |
download | wix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.tar.gz wix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.tar.bz2 wix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.zip |
Improve error message when argument is missing for a switch
-rw-r--r-- | src/WixToolset.Data/ErrorMessages.cs | 2 | ||||
-rw-r--r-- | src/WixToolset.Data/WixToolset.Data.csproj | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index 7ce94157..81f67c81 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs | |||
@@ -389,7 +389,7 @@ namespace WixToolset.Data | |||
389 | 389 | ||
390 | public static Message ExpectedArgument(string argument) | 390 | public static Message ExpectedArgument(string argument) |
391 | { | 391 | { |
392 | return Message(null, Ids.ExpectedArgument, "{0} is expected to be followed by a value argument.", argument); | 392 | return Message(null, Ids.ExpectedArgument, "{0} is expected to be followed by a value. See -? for additional detail.", argument); |
393 | } | 393 | } |
394 | 394 | ||
395 | public static Message ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | 395 | public static Message ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) |
diff --git a/src/WixToolset.Data/WixToolset.Data.csproj b/src/WixToolset.Data/WixToolset.Data.csproj index d56af370..00a0ed95 100644 --- a/src/WixToolset.Data/WixToolset.Data.csproj +++ b/src/WixToolset.Data/WixToolset.Data.csproj | |||
@@ -1,9 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- 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 | <!-- 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. --> |
3 | 3 | ||
4 | |||
5 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
6 | |||
7 | <PropertyGroup> | 5 | <PropertyGroup> |
8 | <TargetFramework>netstandard2.0</TargetFramework> | 6 | <TargetFramework>netstandard2.0</TargetFramework> |
9 | <Title>WiX Toolset Data</Title> | 7 | <Title>WiX Toolset Data</Title> |
@@ -13,5 +11,4 @@ | |||
13 | <ItemGroup> | 11 | <ItemGroup> |
14 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.7" PrivateAssets="all" /> | 12 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.7" PrivateAssets="all" /> |
15 | </ItemGroup> | 13 | </ItemGroup> |
16 | |||
17 | </Project> | 14 | </Project> |