[sword-cvs] sword/utilities osis2mod.cpp,1.4,1.5
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 22 Jul 2003 17:57:09 -0700
Update of /usr/local/cvsroot/sword/utilities
In directory www:/tmp/cvs-serv8329
Modified Files:
osis2mod.cpp
Log Message:
Index: osis2mod.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/utilities/osis2mod.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- osis2mod.cpp 23 Jul 2003 00:09:08 -0000 1.4
+++ osis2mod.cpp 23 Jul 2003 00:57:07 -0000 1.5
@@ -182,12 +182,12 @@
// Let's test our command line arguments
if (argc < 3) {
- fprintf(stderr, "usage: %s <path/to/mod/files> <osisDoc> [0|1 - augment|create module]\n\n", argv[0]);
+ fprintf(stderr, "usage: %s <path/to/mod/files> <osisDoc> [0|1 - create module|augment]\n\n", argv[0]);
exit(-1);
}
- if ((argc<4)||(strcmp(argv[3], "0"))) { // != 1 then create module
+ if ((argc<4)||(!strcmp(argv[3], "0"))) { // == 0 then create module
// Try to initialize a default set of datafiles and indicies at our
// datapath location passed to us from the user.
if (RawText::createModule(argv[1])) {