+/**
+ * Usage:
+ *
+ * Non-wikimedia
+ * php compressOld.php [-t <type>] [-c <chunk-size>] [-b <begin-date>] [-e <end-date>] [-s <start-id>]
+ *
+ * Wikimedia
+ * php compressOld.php <database> [-t <type>] [-c <chunk-size>] [-b <begin-date>] [-e <end-date>] [-s <start-id>]
+ * [-f <max-factor>] [-h <factor-threshold>]
+ *
+ * <type> is either:
+ * gzip: compress revisions independently
+ * concat: concatenate revisions and compress in chunks (default)
+ *
+ * <start-id> is the old_id to start from
+ *
+ * The following options apply only to the concat type:
+ * <begin-date> is the earliest date to check for uncompressed revisions
+ * <end-date> is the latest revision date to compress
+ * <chunk-size> is the maximum number of revisions in a concat chunk
+ * <max-factor> is the maximum ratio of compressed chunk bytes to uncompressed avg. revision bytes
+ * <factor-threshold> is a minimum number of KB, where <max-factor> cuts in
+ *
+ */
+
+$optionsWithArgs = array( 't', 'c', 's', 'f', 'h' );