diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:02 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:02 -0400 |
commit | 936d9e8484ff73282c8c0a277310d1ffdde86e10 (patch) | |
tree | 084d6d2e50f188b0e9c00c109a935efa6ad665fc /utilities/diatheke/diatheke.cpp | |
parent | 71a39f4652cd51df814c930dd268f3c9ad2aee86 (diff) |
Imported Upstream version 1.6.1+dfsg
Diffstat (limited to 'utilities/diatheke/diatheke.cpp')
-rw-r--r-- | utilities/diatheke/diatheke.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/utilities/diatheke/diatheke.cpp b/utilities/diatheke/diatheke.cpp index 3ffe194..30add7b 100644 --- a/utilities/diatheke/diatheke.cpp +++ b/utilities/diatheke/diatheke.cpp @@ -1,5 +1,5 @@ -// Diatheke 4.2.1 by Chris Little <chrislit@crosswire.org> -// Copyright 1999-2005 by CrossWire Bible Society +// Diatheke 4.5 by Chris Little <chrislit@crosswire.org> +// Copyright 1999-2009 by CrossWire Bible Society // http://www.crosswire.org/sword/diatheke /* @@ -31,8 +31,8 @@ using std::cout; void printsyntax() { //if we got this far without exiting, something went wrong, so print syntax - fprintf (stderr, "Diatheke command-line SWORD frontend Version 4.2.1\n"); - fprintf (stderr, "Copyright 1999-2005 by the CrossWire Bible Society\n"); + fprintf (stderr, "Diatheke command-line SWORD frontend Version 4.5\n"); + fprintf (stderr, "Copyright 1999-2009 by the CrossWire Bible Society\n"); fprintf (stderr, "http://www.crosswire.org/sword/diatheke/\n"); fprintf (stderr, "usage: \n "); fprintf (stderr, "diatheke <-b module_name> [-s search_type] [-r search_range]\n"); @@ -47,7 +47,7 @@ void printsyntax() { fprintf (stderr, "Valid option_filters values are: n (Strong's numbers),\n"); fprintf (stderr, " f (Footnotes), m (Morphology), h (Section Headings),\n"); fprintf (stderr, " c (Cantillation), v (Hebrew Vowels), a (Greek Accents), p (Arabic Vowels)\n"); - fprintf (stderr, " l (Lemmas), s (Scripture Crossrefs), r (Arabic Shaping,\n"); + fprintf (stderr, " l (Lemmas), s (Scripture Crossrefs), r (Arabic Shaping),\n"); fprintf (stderr, " b (Bi-Directional Reordering), x (Red Words of Christ)\n"); fprintf (stderr, "Maximum verses may be any integer value\n"); @@ -162,6 +162,10 @@ int main(int argc, char **argv) outputformat = FMT_GBF; i++; } + else if (!::stricmp("htmlhref", argv[i+1])) { + outputformat = FMT_HTMLHREF; + i++; + } else if (!::stricmp("html", argv[i+1])) { outputformat = FMT_HTML; i++; |