help text updates
authorErik Garrison <erik@hypervolu.me>
Mon, 14 Mar 2011 00:37:24 +0000 (20:37 -0400)
committerErik Garrison <erik@hypervolu.me>
Mon, 14 Mar 2011 00:37:24 +0000 (20:37 -0400)
wikiq.cpp

index aa8fb4b43eebe1159e19b0e45a153ee7c11e9e80..6635dc0ed9459d6f55635625082caee38a0ae2af 100644 (file)
--- a/wikiq.cpp
+++ b/wikiq.cpp
@@ -494,9 +494,15 @@ void print_usage(char* argv[]) {
          << "Takes a wikimedia data dump XML stream on standard in, and produces" << endl
          << "a tab-separated stream of revisions on standard out:" << endl
          << endl
          << "Takes a wikimedia data dump XML stream on standard in, and produces" << endl
          << "a tab-separated stream of revisions on standard out:" << endl
          << endl
-         << "title, articleid, revid, timestamp, anon, editor, editorid, minor, revlength, reventropy, revmd5" << endl
+         << "title, articleid, revid, timestamp, anon, editor, editorid, minor," << endl
+         << "text_length, text_entropy, text_md5, reversion, additions_size, deletions_size" << endl
          << ".... and additional fields for each regex executed against add/delete diffs" << endl
          << endl
          << ".... and additional fields for each regex executed against add/delete diffs" << endl
          << endl
+         << "Notes:" << endl
+         << "Boolean fields are TRUE/FALSE except in the case of reversion, which is blank" << endl
+         << "unless the article is a revert to a previous revision, in which case, it" << endl
+         << "contains the revision ID of the revision which was reverted to." << endl
+         << endl
          << "author: Erik Garrison <erik@hypervolu.me>" << endl;
 }
 
          << "author: Erik Garrison <erik@hypervolu.me>" << endl;
 }
 

Benjamin Mako Hill || Want to submit a patch?