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 | |
parent | 76f0ccefb8b3a390cc32a861ab22da4e722bda50 (diff) | |
download | MPC-a92416df308df4b54ed79f6de118b32ca10f2aef.tar.gz |
ChangeLogTag: Tue Jun 29 13:41:39 UTC 2010 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | ChangeLog | 12 | ||||
-rwxr-xr-x | devtools/document_template.pl | 23 |
2 files changed, 18 insertions, 17 deletions
@@ -1,3 +1,9 @@ +Tue Jun 29 13:41:39 UTC 2010 Chad Elliott <elliott_c@ociweb.com> + + * devtools/document_template.pl: + + Fixed the usage message. + Mon Jun 28 20:16:54 UTC 2010 Chris Cleeland <cleeland@ociweb.com> * modules/CDT6ProjectCreator.pm: @@ -26,16 +32,16 @@ Mon Jun 28 20:16:54 UTC 2010 Chris Cleeland <cleeland@ociweb.com> Modified to allow use for generating a stubbed out template variable document. - + * modules/TemplateParser.pm: - + Added functions create_aux_file/end_aux_file, translate_vars, and convert_slashes. Mon Jun 28 18:01:08 UTC 2010 James H. Hill <hillj at cs dot iupui dot edu> * modules/WorkspaceCreator.pm: - + Reverted change below. Mon Jun 28 16:26:00 UTC 2010 James H. Hill <hillj at cs dot iupui dot edu> 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); } |