[sword-svn] r2694 - trunk/utilities

scribe at crosswire.org scribe at crosswire.org
Sun Apr 1 16:19:28 MST 2012


Author: scribe
Date: 2012-04-01 16:19:28 -0700 (Sun, 01 Apr 2012)
New Revision: 2694

Modified:
   trunk/utilities/mod2osis.cpp
Log:
added "do not use" warning.


Modified: trunk/utilities/mod2osis.cpp
===================================================================
--- trunk/utilities/mod2osis.cpp	2012-03-24 22:38:01 UTC (rev 2693)
+++ trunk/utilities/mod2osis.cpp	2012-04-01 23:19:28 UTC (rev 2694)
@@ -44,7 +44,7 @@
 using std::cout;
 
 void errorOutHelp(char *appName) {
-	cerr << appName << " - a tool to output a Sword module in OSIS format\n";
+	cerr << appName << " - a tool to output a SWORD module in OSIS format\n";
 	cerr << "usage: "<< appName << " <modname> \n";
 	cerr << "\n\n";
 	exit(-1);
@@ -55,6 +55,19 @@
 {
 	SWModule *inModule = 0;
 	ThMLOSIS filter;
+
+	cerr << "\n\n*** Don't use this utility *** \n\n";
+	cerr << "Its purpose is to eventually obtain round trip \n";
+	cerr << "lossless import / export, but we are not there yes. \n\n";
+	cerr << "In fact, you should never export SWORD modules.\n";
+	cerr << "Many CrossWire modules are licensed for use from publishers\n";
+	cerr << "and you will need to obtain your own permissions.\n";
+	cerr << "We also do not encourage propogating encoding errors\n";
+	cerr << "which you will avoid by obtaining text data from the source.\n\n";
+	cerr << "Please see the TextSource entry in the module's .conf file\n";
+	cerr << "for information where to obtain module data from our source.\n\n";
+	cerr << "If you still must export SWORD module data, use mod2imp.\n";
+	cerr << "It is more lossless; or less lossful, and easier to read.\n\n";
 	
 	if ((argc != 2)) {
 		errorOutHelp(argv[0]);




More information about the sword-cvs mailing list