From 86724d869758e20f19530f47c1a0dc4cceb83b0e Mon Sep 17 00:00:00 2001 From: Peter von Kaehne Date: Mon, 9 Aug 2010 08:48:02 +0000 Subject: updated usage message git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@293 07627401-56e2-0310-80f4-f8cd0041bdcd --- modules/perlconverters/usfm2osis.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/perlconverters/usfm2osis.pl b/modules/perlconverters/usfm2osis.pl index 3521a41..a5c4c72 100644 --- a/modules/perlconverters/usfm2osis.pl +++ b/modules/perlconverters/usfm2osis.pl @@ -97,12 +97,13 @@ $encodings =~ s/\, $//; # Syntax instructions if (scalar(@ARGV) < 2) { - print "\nusfm2osis.pl -- USFM $usfmVersion to OSIS $osisVersion converter version $version\nRevision $rev ($date)\nSyntax: usfm2osis.pl [-o OSIS-file] [-e USFM encoding] \n"; + print "\nusfm2osis.pl -- USFM $usfmVersion to OSIS $osisVersion converter version $version\nRevision $rev ($date)\nSyntax: usfm2osis.pl [-o OSIS-file] [-e USFM encoding] [-t module type] \n"; print "- Arguments in braces < > are required. Arguments in brackets [ ] are optional.\n"; print "- The osisWork is a short name with no spaces which will identify your module.\n"; print "- If no -o option is specified for the output filename, the default output file is: \n\tosisWork.osis.xml.\n"; print "- Supported encodings include:\n\t$encodings\n"; print "- If the encoding is omitted, utf8 is the default value.\n"; + print "- The script can currently produce valid OSIS for usfm bibles and nearly valid OSIS for usfm commentaries. To set the module type use '-t' with either 'bible' or 'comment'. On ommision 'bible' is assumed.\n"; print "- USFM filenames with the SFM extension can be accessed using a wildcard: \n\t*.SFM\n"; print "As an example, if you want to generate the osisWork and your USFM files are encoded in utf8, located in the /Bible folder relative to this script with the file extension SFM, enter:\n\tperl usfm2osis.pl bible Bible/*.SFM\n\n"; exit (-1); -- cgit