src/main.cpp

changeset 142
1f5518dd8146
parent 141
68d60e2cfa76
--- a/src/main.cpp	Thu Jul 24 16:54:45 2014 +0300
+++ b/src/main.cpp	Thu Jul 24 17:01:23 2014 +0300
@@ -50,12 +50,10 @@
 		Verbosity verboselevel (Verbosity::None);
 		bool listcommands (false);
 		bool sendhelp (false);
-		bool test (true);
 
 		CommandLine cmdline;
 		cmdline.addOption (listcommands, 'l', "listfunctions", "List available functions");
 		cmdline.addOption (sendhelp, 'h', "help", "Print help text");
-		cmdline.addOption (test, 'x', "test", "testy test");
 		cmdline.addEnumeratedOption (verboselevel, 'V', "verbose", "Output more information");
 		StringList args = cmdline.process (argc, argv);
 
@@ -68,7 +66,7 @@
 #endif
 			printTo (stderr, "%1\n", header);
 			printTo (stderr, "usage: %1 [OPTIONS] SOURCE [OUTPUT]\n\n", argv[0]);
-			printTo (stderr, "Options:\n" + cmdline.describeOptions());
+			printTo (stderr, "Options:\n" + cmdline.describeOptions() + "\n");
 			return EXIT_SUCCESS;
 		}
 

mercurial