Restructure envinfo help
authorDario Sestito <darios@symbian.org>
Wed, 16 Jun 2010 11:44:46 +0100
changeset 287 598059d917c3
parent 286 047e37a8f43f
child 288 77dc8956ed66
Restructure envinfo help
envinfo/envinfo.pl
--- a/envinfo/envinfo.pl	Wed Jun 16 11:36:40 2010 +0100
+++ b/envinfo/envinfo.pl	Wed Jun 16 11:44:46 2010 +0100
@@ -34,12 +34,20 @@
 
 if ($help)
 {
-	print "Dumps environment info such as tools version to cmdline and/or to a file\n";
-	print "Compare info with a baseline\n";
-	print "Usage: perl envinfo.pl [OPTIONS]\n";
-	print "where OPTIONS are:\n";
-	print "-r,--report [FILE]\tCreate report file (default \\output\\logs\\envinfo.txt)\n";
-	print "-c,--compare [LOCATION]\tCompare environment with info at LOCATION (default \\build_info\\logs\\envinfo.txt)\n";
+print <<_EOH;
+envinfo
+Dumps environment info such as tools version to cmdline and/or to a file
+Compare info with a baseline
+
+Usage: envinfo.pl [options]
+
+Options:
+  -h, --help            Show this help message and exit
+  -r,--report [FILE]    Write report to FILE (default \\output\\logs\\envinfo.txt)
+  -c,--compare [LOCATION]
+                        Compare environment with info at LOCATION
+                        (default \\build_info\\logs\\envinfo.txt)
+_EOH
 	exit(0);
 }