summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2010-08-09 08:48:02 +0000
committerPeter von Kaehne <refdoc@gmx.net>2010-08-09 08:48:02 +0000
commit86724d869758e20f19530f47c1a0dc4cceb83b0e (patch)
treef609b3815b093149ce08da52f8e83e0356c03313 /modules
parent668d20c395264de862c6c3b1fd03debb6d9e526e (diff)
downloadsword-tools-86724d869758e20f19530f47c1a0dc4cceb83b0e.tar.gz
updated usage message
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@293 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules')
-rw-r--r--modules/perlconverters/usfm2osis.pl3
1 files changed, 2 insertions, 1 deletions
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 <osisWork> [-o OSIS-file] [-e USFM encoding] <USFM filenames|wildcard>\n";
+ print "\nusfm2osis.pl -- USFM $usfmVersion to OSIS $osisVersion converter version $version\nRevision $rev ($date)\nSyntax: usfm2osis.pl <osisWork> [-o OSIS-file] [-e USFM encoding] [-t module type] <USFM filenames|wildcard>\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 <bible> 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);