src/utils/wigToBigWig/wigToBigWig.c 1.7

1.7 2009/11/06 19:46:54 kent
Adding version number to usage statement.
Index: src/utils/wigToBigWig/wigToBigWig.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/wigToBigWig/wigToBigWig.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/utils/wigToBigWig/wigToBigWig.c	10 Feb 2009 08:18:18 -0000	1.6
+++ src/utils/wigToBigWig/wigToBigWig.c	6 Nov 2009 19:46:54 -0000	1.7
@@ -16,10 +16,10 @@
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
-  "wigToBigWig - Convert ascii format wig file (in fixedStep, variableStep or bedGraph\n"
-  "format) to binary big wig format.\n"
+  "wigToBigWig v %d - Convert ascii format wig file (in fixedStep, variableStep\n"
+  "or bedGraph format) to binary big wig format.\n"
   "usage:\n"
   "   wigToBigWig in.wig chrom.sizes out.bw\n"
   "Where in.wig is in one of the ascii wiggle formats, but not including track lines\n"
   "and chrom.sizes is two column: <chromosome name> <size in bases>\n"
@@ -28,9 +28,9 @@
   "   -blockSize=N - Number of items to bundle in r-tree.  Default %d\n"
   "   -itemsPerSlot=N - Number of data points bundled at lowest level. Default %d\n"
   "   -clip - If set just issue warning messages rather than dying if wig\n"
   "                  file contains items off end of chromosome."
-  , blockSize, itemsPerSlot
+  , bbiCurrentVersion, blockSize, itemsPerSlot
   );
 }
 
 static struct optionSpec options[] = {