aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UCommandLine.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/UCommandLine.pas')
-rw-r--r--Game/Code/Classes/UCommandLine.pas6
1 files changed, 5 insertions, 1 deletions
diff --git a/Game/Code/Classes/UCommandLine.pas b/Game/Code/Classes/UCommandLine.pas
index 92163f89..e7398b50 100644
--- a/Game/Code/Classes/UCommandLine.pas
+++ b/Game/Code/Classes/UCommandLine.pas
@@ -55,6 +55,7 @@ var
const
cHelp = 'help';
+ cDebug = 'debug';
cMediaInterfaces = 'showinterfaces';
cUseLocalPaths = 'localpaths';
@@ -72,7 +73,7 @@ uses SysUtils,
Constructor TCMDParams.Create;
begin
- if FindCmdLineSwitch( cHelp ) then
+ if FindCmdLineSwitch( cHelp ) or FindCmdLineSwitch( 'h' ) then
showhelp();
ResetVariables;
@@ -97,6 +98,9 @@ begin
writeln( ' ----------------------------------------------------------' );
writeln( ' '+s( cMediaInterfaces ) + #9 + ' : Show in-use media interfaces' );
writeln( ' '+s( cUseLocalPaths ) + #9 + ' : Use relative paths' );
+ writeln( ' '+s( cDebug ) + #9 + ' : Display Debugging info' );
+
+
writeln( '' );