diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2010-06-29 13:41:55 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2010-06-29 13:41:55 +0000 |
commit | a92416df308df4b54ed79f6de118b32ca10f2aef (patch) | |
tree | e467d802ccc7002d8f01655aac7627a026b149ff /devtools | |
parent | 76f0ccefb8b3a390cc32a861ab22da4e722bda50 (diff) | |
download | MPC-a92416df308df4b54ed79f6de118b32ca10f2aef.tar.gz |
ChangeLogTag: Tue Jun 29 13:41:39 UTC 2010 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/document_template.pl | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/devtools/document_template.pl b/devtools/document_template.pl index 6ec57d98..9ffed0ad 100755 --- a/devtools/document_template.pl +++ b/devtools/document_template.pl @@ -163,20 +163,15 @@ sub display_template { sub usageAndExit { - my $b = basename($0); - my $langs = join(' ', sort(Creator::validLanguages())); - print <<'EOF'; -document_template.pl v$version -Usage: $b <template> [<outputfile> [language]] - -outputfile - This defaults to the name of the template file with the .mpd - extension replaced with '.html' If <outputfile> ends in '.txt', - the output is in text format similar to what is found in - .../docs/templates. -language - This defaults to the language for which the template is designed. - It can be any of the valid language settings for MPC: - $langs -EOF + print "document_template.pl v$version\n", + "Usage: ", basename($0), " <template> [<outputfile> [language]]\n\n", + "outputfile - This defaults to the name of the template file with the .mpd\n", + " extension replaced with '.html' If <outputfile> ends in '.txt',\n", + " the output is in text format similar to what is found in\n", + " .../docs/templates.\n", + "language - This defaults to the language for which the template is designed.\n", + " It can be any of the valid language settings for MPC:\n", + join(' ', sort(Creator::validLanguages())), "\n"; exit(0); } |