6f5ac0886db21eaeb6d4d158c85bbf60527761e1 kent Mon Jan 11 18:07:07 2021 -0800 Fixed usage statement per code review #26745 diff --git src/utils/matrixScale/matrixScale.c src/utils/matrixScale/matrixScale.c index a6916b8..7a10bdf 100644 --- src/utils/matrixScale/matrixScale.c +++ src/utils/matrixScale/matrixScale.c @@ -2,31 +2,31 @@ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "sqlNum.h" void usage() /* Explain usage and exit. */ { errAbort( "matrixScale - Scale a matrix by a constant number.\n" "usage:\n" " matrixScale in.tsv scale out.tsv\n" "where in and out are labeled matrices and scale is a floating point number\n" "options:\n" - " -unlabeled - don't scale first row or column\n" + " -unlabeled - do scale first row or column\n" ); } /* Command line validation table. */ static struct optionSpec options[] = { {"unlabeled", OPTION_BOOLEAN}, {NULL, 0}, }; void matrixScale(char *input, char *scaleString, char *output) /* matrixScale - Scale a matrix by a constant number.. */ { boolean unlabeled = optionExists("unlabeled"); double scale = sqlDouble(scaleString); struct lineFile *lf = lineFileOpen(input, TRUE);