diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-19 02:11:50 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-19 02:11:50 +0000 |
commit | 521ecaf0d7aebf13e7d42a71d5a86e9d94c60e43 (patch) | |
tree | 0a43cb78ceff32479a0ede84db794c143ca749c7 /create_base.pl | |
parent | 315d2a2dd3220e48ab836662c168a9cacc3d4585 (diff) | |
download | MPC-521ecaf0d7aebf13e7d42a71d5a86e9d94c60e43.tar.gz |
ChangeLogTag: Wed Aug 19 02:11:03 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'create_base.pl')
-rwxr-xr-x | create_base.pl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/create_base.pl b/create_base.pl index 63b37a39..1788fa62 100755 --- a/create_base.pl +++ b/create_base.pl @@ -148,8 +148,10 @@ sub usageAndExit { print STDERR "$str\n" if (defined $str); print STDERR "Create Base Project v$version\n", "Usage: ", basename($0), " <mpc files> <output file or ", - "directory>\n\nThis is only useful if the project ", - "explictly sets sharedname or staticname.\n"; + "directory>\n\nThis script will create a base project ", + "based on the contents of the\nsupplied MPC file. ", + "This is only useful if the project ", + "explictly sets\nsharedname or staticname.\n"; exit(0); } @@ -181,8 +183,8 @@ else { ## Print the usage and exit if there is no input, output or the input ## file looks like an option. - usageAndExit() if (!defined output || - !defined $input || index($input, '-') == 0); + usageAndExit() if (!defined $output || + !defined $input || index($input, '-') == 0); ## If the output file is a directory, we will create the output file ## name based on the input file. |