307f4b0a9b67352f0ee26486ccae08c2897b973e hiram Tue May 28 09:59:51 2013 -0700 correct usage message to include with userUtils refs #9149 diff --git src/utils/addCols/addCols.c src/utils/addCols/addCols.c index bc7f494..cd21d0f 100644 --- src/utils/addCols/addCols.c +++ src/utils/addCols/addCols.c @@ -1,30 +1,30 @@ /* addCols - Add together columns. */ #include "common.h" #include "linefile.h" void usage() /* Explain usage and exit. */ { errAbort( "addCols - Sum columns in a text file.\n" "usage:\n" " addCols \n" - "adds all numbers in all columns (up to 16 columns) " - "in the given file.\n" - " can be the name: stdin to accept input from stdin."); + "adds all columns (up to 16 columns) in the given file, \n" + "outputs the sum of each column. can be the\n" + " name: stdin to accept input from stdin."); } void addCols(char *fileName) /* addCols - Add together columns. */ { struct lineFile *lf; char *words[16]; int wordCount; static double totals[16]; int maxCount = 0; int i; if (sameString(fileName, "stdin")) lf = lineFileStdin(TRUE); else