# HG changeset patch # User Dario Sestito # Date 1276192148 -3600 # Node ID 83443e6675cd710e035665438d956151c387c88c # Parent b9b02349bd482510cc60bd3ee05a8959183af58d Restructure help text diff -r b9b02349bd48 -r 83443e6675cd uh_parser/uh.pl --- a/uh_parser/uh.pl Thu Jun 10 15:25:56 2010 +0100 +++ b/uh_parser/uh.pl Thu Jun 10 18:49:08 2010 +0100 @@ -46,14 +46,25 @@ if ($help) { - print "Unite and HTML-ize Raptor log files.\n"; - print "Usage: perl uh.pl [OPTIONS] FILE1 FILE2 ...\n"; - print "where FILE1 FILE2 ... are Raptor log files.\n"; - print "If no file argument is provided then UH takes the latest under \\epoc32\\build\n"; - print "OPTIONS:\n"; - print "\t-m, --missing\tAlso add the list of missing binaries (Raptor log should include whatlog info).\n"; - print "\t\t\tCheck is done against the epoc tree at the root of the current drive\n"; - print "\t-b DIR, --basedir DIR\tGenerate output under DIR (defaults to current dir)\n"; +print <<_EOH; +UH parser +Reads one or more Raptor log files, extracts the interesting bits and puts them into a +set of HTML files, making it easy to spot the failures and see the related log snippets. + +Usage: uh.pl [options] [files] + +Options: + -h, --help Show this help message and exit + -m, --missing Add report on missing binaries. Check is done against the epoc + tree at the root of the current drive + (Note: it requires Raptor log to include whatlog info) + -b OUTDIR, --basedir OUTDIR + Generate output under OUTDIR (defaults to current dir) + +Files: + Accepts one or a list of raptor log files (separated by a space) + If no file argument is provided then take the most recent log under \\epoc32\\build +_EOH exit(0); }