Fix command line usage output.

release-1.0.0
Icedream 2015-01-12 01:04:22 +01:00
parent 04def92500
commit 8ecf4a2353
2 changed files with 6 additions and 3 deletions

View File

@ -46,13 +46,14 @@ namespace CitizenMP.Server.Installer
}
help.AddPreOptionsLine(" ");
#if NO_COMMANDLINE
#if !NO_COMMANDLINE
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
.Single()).Value.Trim());
#endif
#else
help.AddPreOptionsLine(
"This is free software. You may redistribute copies of it under the terms of the MIT License <http://www.opensource.org/licenses/mit-license.php>.");
#endif
help.AddPreOptionsLine(" ");
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
Process.GetCurrentProcess().ProcessName,

View File

@ -61,7 +61,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="FodyWeavers.xml" />
<Content Include="FodyWeavers.xml">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\updater\CitizenMP Server Updater.csproj">