Fix process name display on usage output. The extension is not really needed if it crashes Mono after merging that much.

release-1.0.0
Icedream 2015-01-12 02:33:55 +01:00
parent 31ec07d8c0
commit eb52da9e74
1 changed files with 2 additions and 3 deletions

View File

@ -55,9 +55,8 @@ namespace CitizenMP.Server.Installer
"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 #endif
help.AddPreOptionsLine(" "); help.AddPreOptionsLine(" ");
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"", help.AddPreOptionsLine(string.Format("{0} [options...] \"<targetpath>\"",
Process.GetCurrentProcess().ProcessName, Process.GetCurrentProcess().ProcessName));
new FileInfo(Assembly.GetExecutingAssembly().Location).Extension));
help.AddOptions(this); help.AddOptions(this);