summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/pre2par
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 12:49:04 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 12:49:04 +0000
commit443a91d8a007a2d2e9b462c7bada07763b9041c0 (patch)
tree4b04feaf8d1cb3aa9fc3d66cbd4b9851a8fe0a30 /solenv/bin/modules/pre2par
parent446d8e6a3b0da36007fec76ff9786ce2d2a6b5a0 (diff)
INTEGRATION: CWS native69 (1.6.470); FILE MERGED
2006/10/18 10:26:42 is 1.6.470.1: #141136# correct usage
Diffstat (limited to 'solenv/bin/modules/pre2par')
-rw-r--r--solenv/bin/modules/pre2par/parameter.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/solenv/bin/modules/pre2par/parameter.pm b/solenv/bin/modules/pre2par/parameter.pm
index fc97d974ccf3..2cbb078c2e98 100644
--- a/solenv/bin/modules/pre2par/parameter.pm
+++ b/solenv/bin/modules/pre2par/parameter.pm
@@ -4,9 +4,9 @@
#
# $RCSfile: parameter.pm,v $
#
-# $Revision: 1.6 $
+# $Revision: 1.7 $
#
-# last change: $Author: rt $ $Date: 2005-09-08 09:31:36 $
+# last change: $Author: vg $ $Date: 2006-11-01 13:49:04 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -53,11 +53,12 @@ $pre2par::globals::prog V1.0 (c) Ingo Schmidt 2003
The following parameter are needed:
-s: path to the pre file
-o: path to the par file
--l: path to the ulf file
+-l: path to the ulf file (mlf or jlf file)
+-v: log process (optional)
Example:
-perl pre2par.pl -S readme.pre -o readme.par
+perl pre2par.pl -l test.mlf -s readme.pre -o readme.par -v
---------------------------------------------------------
Ende
@@ -99,7 +100,7 @@ sub control_parameter
if ($pre2par::globals::prefilename eq "")
{
print "\n************************************************\n";
- print "Error: Name of the input file not set (-i)!";
+ print "Error: Name of the input file not set (-s)!";
print "\n************************************************\n";
usage();
exit(-1);
@@ -173,7 +174,7 @@ sub make_path_absolute
sub outputparameter
{
$pre2par::globals::logging ? ($logoption = " -v") : ($logoption = "");
- print "\n$pre2par::globals::prog -s $pre2par::globals::prefilename -o $pre2par::globals::parfilename$logoption\n";
+ print "\n$pre2par::globals::prog -l $pre2par::globals::langfilename -s $pre2par::globals::prefilename -o $pre2par::globals::parfilename$logoption\n";
# print "\n********************************************************\n";
# print "This is $pre2par::globals::prog, version 1.0\n";