Skip to content
Browse files

[xsp] Added an optional command line argument to activate the quiet m…

…ode from the beginning.
  • Loading branch information...
1 parent 2c3a3a6 commit 1869a2173b1172c733d82e2e304c435c15f7992a @spigaz spigaz committed Jun 27, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/Mono.WebServer.XSP/main.cs
View
5 src/Mono.WebServer.XSP/main.cs
@@ -181,6 +181,8 @@ static void ShowHelp ()
Console.WriteLine ();
Console.WriteLine (" --no-hidden: allow access to hidden files (see 'man xsp' for details)");
Console.WriteLine ();
+ Console.WriteLine (" --quiet: disables the initial start up information");
+ Console.WriteLine ();
Console.WriteLine (" --version: displays version information and exits.");
Console.WriteLine (" --verbose: prints extra messages. Mainly useful for debugging.");
Console.WriteLine (" --pidfile file: write the process PID to the specified file.");
@@ -358,6 +360,9 @@ public int RealMain (string [] args, bool root, IApplicationHost ext_apphost, bo
case "--help":
ShowHelp ();
return 0;
+ case "--quiet":
+ quiet = true;
+ break;
case "--version":
ShowVersion ();
return 0;

0 comments on commit 1869a21

Please sign in to comment.
Something went wrong with that request. Please try again.