From 8ecf4a23534bd804a07af9aa574b5b50a220ba78 Mon Sep 17 00:00:00 2001 From: icedream Date: Mon, 12 Jan 2015 01:04:22 +0100 Subject: [PATCH] Fix command line usage output. --- src/updater/CommandLineOptions.cs | 5 +++-- src/wrapper/CitizenMP Server Updater Wrapper.csproj | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/updater/CommandLineOptions.cs b/src/updater/CommandLineOptions.cs index 49c76b0..6209e21 100644 --- a/src/updater/CommandLineOptions.cs +++ b/src/updater/CommandLineOptions.cs @@ -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 ."); +#endif help.AddPreOptionsLine(" "); help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"\"", Process.GetCurrentProcess().ProcessName, diff --git a/src/wrapper/CitizenMP Server Updater Wrapper.csproj b/src/wrapper/CitizenMP Server Updater Wrapper.csproj index 1ad9c22..a9b02c4 100644 --- a/src/wrapper/CitizenMP Server Updater Wrapper.csproj +++ b/src/wrapper/CitizenMP Server Updater Wrapper.csproj @@ -61,7 +61,9 @@ - + + Designer +