Fix process name display on usage output. The extension is not really needed if it crashes Mono after merging that much.
parent
31ec07d8c0
commit
eb52da9e74
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue