From ec8bbc5be23ff189a96997d258023d4056e24cb9 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 14 Dec 2010 23:56:12 +0000 Subject: [PATCH] Fixed the help section to be in line with what the code actually does. --- tools/testtools/csvdiff.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tools/testtools/csvdiff.cpp b/tools/testtools/csvdiff.cpp index 3ea8e1183..9d6df04a2 100644 --- a/tools/testtools/csvdiff.cpp +++ b/tools/testtools/csvdiff.cpp @@ -9,7 +9,6 @@ * $Name: $ *====================================================================*/ /* - * * csvdiff File1.csv File2.csv * * Compares the variable values in two Excel formatted @@ -24,9 +23,10 @@ * -h = prints this usage information * * Shell Return Values - * 1 = Comparison was successful - * 0 = One or more nodal values failed the comparison - * -1 = Apples to oranges, the files can not even be compared against + * 0 = Comparison was successful + * 1 = One or more nodal values failed the comparison + * 2 = One or more of the header values failed the comparison + * 3 = Apples to oranges, the files can not even be compared against * one another. */ @@ -616,9 +616,10 @@ static void print_usage() { printf("\t -r rtol = Set relative tolerance parameter - default = 1.0E-3\n"); printf("\t\n"); printf("\t Shell Return Values:\n"); - printf("\t 1 = Comparison was successful\n"); - printf("\t 0 = One or more nodal values failed the comparison\n"); - printf("\t -1 = Apples to oranges, the files can not even be compared against\n"); + printf("\t 0 = Comparison was successful\n"); + printf("\t 1 = One or more nodal values failed the comparison\n"); + printf("\t 2 = One or more header values failed the comparison\n"); + printf("\t 3 = Apples to oranges, the files can not even be compared against\n"); printf("\t one another.\n"); printf("\t\n"); }