summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-08-09 01:20:44 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-08-09 01:20:44 +0000
commit03c7f64d05fe3dfab866499736f9a75ce8d0e399 (patch)
tree87f500e36475d7e727b65c3e90ad8f3a306392d6 /devtools
parent09e54097d4098e9ef4d9a0996fff321435dd05dc (diff)
downloadMPC-03c7f64d05fe3dfab866499736f9a75ce8d0e399.tar.gz
ChangeLogTag: Wed Aug 9 01:14:54 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/document_template.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/document_template.pl b/devtools/document_template.pl
index 589f197c..925f9352 100755
--- a/devtools/document_template.pl
+++ b/devtools/document_template.pl
@@ -125,7 +125,7 @@ sub display_template {
sub usageAndExit {
print "document_template.pl v$version\n",
- "Usage: ", basename($0), " <template> [html output [language]]\n\n",
+ "Usage: ", basename($0), " <template> [<html output> [language]]\n\n",
"language can be any of the valid language settings for MPC.\n";
exit(0);
}
@@ -211,6 +211,7 @@ if (open($fh, $input)) {
}
$vname = $n;
}
+ $vname =~ s/\s.*//;
$key = $vname;
$name = $vname;