Fix command line usage output.
parent
04def92500
commit
8ecf4a2353
|
@ -46,13 +46,14 @@ namespace CitizenMP.Server.Installer
|
||||||
}
|
}
|
||||||
|
|
||||||
help.AddPreOptionsLine(" ");
|
help.AddPreOptionsLine(" ");
|
||||||
#if NO_COMMANDLINE
|
#if !NO_COMMANDLINE
|
||||||
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
|
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
|
||||||
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
|
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
|
||||||
.Single()).Value.Trim());
|
.Single()).Value.Trim());
|
||||||
#endif
|
#else
|
||||||
help.AddPreOptionsLine(
|
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>.");
|
"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(" ");
|
||||||
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
|
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
|
||||||
Process.GetCurrentProcess().ProcessName,
|
Process.GetCurrentProcess().ProcessName,
|
||||||
|
|
|
@ -61,7 +61,9 @@
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="FodyWeavers.xml" />
|
<Content Include="FodyWeavers.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\updater\CitizenMP Server Updater.csproj">
|
<ProjectReference Include="..\updater\CitizenMP Server Updater.csproj">
|
||||||
|
|
Loading…
Reference in New Issue