2
* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
3
* CrossWire Bible Society
7
* This program is free software; you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation version 2.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
27
int main(int argc, char **argv)
31
RawFiles personal("modules/comments/rawfiles/personal/", "MINE", "Personal Comments");
35
fprintf(stderr, "usage: %s <\"comment\"> <\"verse\"> [count] [disable AutoNormalization]\n", argv[0]);
40
mykey.AutoNormalize(0); // Turn off autonormalize if 3 args to allow for intros
41
// This is kludgy but at lease you can try it
42
// with something like: sword "Matthew 1:0" 1 1
46
personal.setKey(mykey);
48
max = (argc < 4) ? 1 : atoi(argv[3]);
50
for (loop = 0; loop < max; loop++) {
54
std::cout << "Added Comment" << std::endl;