fix arg help gen

This commit is contained in:
beichen
2023-04-11 21:53:09 +08:00
parent dbb3c195a0
commit eb5895199a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ namespace GodPotato
stringBuilder.WriteLine(requiredExample); ;
}
if (propertyInfoList.Count > 0)
if (propertyInfoList.Count > 0 && requiredPropertyList.Count != propertyInfoList.Count)
{
string allParameterExample = "";
allParameterExample = appName + " ";
+1 -1
View File
@@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>GodPotato</RootNamespace>
<AssemblyName>GodPotato</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
+1 -1
View File
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>