Index: /trunk/doc/ipptools/dettool.txt
===================================================================
--- /trunk/doc/ipptools/dettool.txt	(revision 9122)
+++ /trunk/doc/ipptools/dettool.txt	(revision 9123)
@@ -140,5 +140,5 @@
 Pan-Tasks regularly runs:
 
-	dettool -tonormstat
+	dettool -tonormalizedstat
 
 This returns a list of detrend id and iteration for which the entire
@@ -165,8 +165,8 @@
 into the database:
 
-	dettool -addnormstat -det_id <det_id> -iter <iter> -class_id <class_id> -norm <normalisation> 
+	dettool -addnormalizedstat -det_id <det_id> -iter <iter> -class_id <class_id> -norm <normalisation> 
 
 In practise, the above three commands ("dettool -processedimfile",
-"ppNormCalc" and "dettool -addnormstat") will be performed by a Perl
+"ppNormCalc" and "dettool -addnormalizedstat") will be performed by a Perl
 script, "detrend_norm_calc.pl".
 
@@ -175,5 +175,5 @@
 matrix with ppNormCalc.
 
-*** To do: possible upgrade path is to have "dettool -addnormstat"
+*** To do: possible upgrade path is to have "dettool -addnormalizedstat"
 	   parse a metadata config file from ppNorm to get the
 	   multiple normalisations, instead of running it several
Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 9122)
+++ /trunk/ippTools/src/dettool.c	(revision 9123)
@@ -30,6 +30,6 @@
 static bool stacframeMode(pxConfig *config); // needed?
 static bool tonormalizeMode(pxConfig *config);
-static bool addnormstatMode(pxConfig *config);
-static bool tonormstatMode(pxConfig *config);
+static bool addnormalizedstatMode(pxConfig *config);
+static bool tonormalizedstatMode(pxConfig *config);
 static bool addnormalizedimfileMode(pxConfig *config);
 static bool tonormalizedexpMode(pxConfig *config);
@@ -98,6 +98,6 @@
         MODECASE(DETTOOL_MODE_STACKEDFRAME,     stacframeMode); // needed?
         MODECASE(DETTOOL_MODE_TONORMALIZE,      tonormalizeMode);
-        MODECASE(DETTOOL_MODE_ADDNORMSTAT,      addnormstatMode);
-        MODECASE(DETTOOL_MODE_TONORMSTAT,       tonormstatMode);
+        MODECASE(DETTOOL_MODE_ADDNORMALIZEDSTAT,addnormalizedstatMode);
+        MODECASE(DETTOOL_MODE_TONORMALIZEDSTAT, tonormalizedstatMode);
         MODECASE(DETTOOL_MODE_ADDNORMALIZEDIMFILE,addnormalizedimfileMode);
         MODECASE(DETTOOL_MODE_NORMALIZEDIMFILE, normalizedimfileMode);
@@ -2103,5 +2103,5 @@
 }
 
-static bool tonormalizeMode(pxConfig *config)
+static bool tonormalizedstatMode(pxConfig *config)
 {
     PS_ASSERT_PTR_NON_NULL(config, false);
@@ -2183,5 +2183,5 @@
 }
 
-static bool addnormstatMode(pxConfig *config)
+static bool addnormalizedstatMode(pxConfig *config)
 {
     PS_ASSERT_PTR_NON_NULL(config, NULL);
@@ -2290,5 +2290,5 @@
 }
 
-static bool tonormstatMode(pxConfig *config)
+static bool tonormalizeMode(pxConfig *config)
 {
     PS_ASSERT_PTR_NON_NULL(config, false);
Index: /trunk/ippTools/src/dettool.h
===================================================================
--- /trunk/ippTools/src/dettool.h	(revision 9122)
+++ /trunk/ippTools/src/dettool.h	(revision 9123)
@@ -25,6 +25,6 @@
     DETTOOL_MODE_STACKEDFRAME,
     DETTOOL_MODE_TONORMALIZE,
-    DETTOOL_MODE_ADDNORMSTAT,
-    DETTOOL_MODE_TONORMSTAT,
+    DETTOOL_MODE_ADDNORMALIZEDSTAT,
+    DETTOOL_MODE_TONORMALIZEDSTAT,
     DETTOOL_MODE_ADDNORMALIZEDIMFILE,
     DETTOOL_MODE_NORMALIZEDIMFILE,
Index: /trunk/ippTools/src/dettoolConfig.c
===================================================================
--- /trunk/ippTools/src/dettoolConfig.c	(revision 9122)
+++ /trunk/ippTools/src/dettoolConfig.c	(revision 9123)
@@ -550,6 +550,6 @@
     PXTOOL_MODE("-addstacked",      DETTOOL_MODE_ADDSTACKED,    addstacArgs);
     PXTOOL_MODE("-tonormalize",     DETTOOL_MODE_TONORMALIZE,   tonormalizeArgs);
-    PXTOOL_MODE("-addnormstat",     DETTOOL_MODE_ADDNORMSTAT,   addnormstatArgs);
-    PXTOOL_MODE("-tonormstat",      DETTOOL_MODE_TONORMSTAT,    tonormstatArgs);
+    PXTOOL_MODE("-addnormalizedstat",     DETTOOL_MODE_ADDNORMALIZEDSTAT,   addnormstatArgs);
+    PXTOOL_MODE("-tonormalizedstat",      DETTOOL_MODE_TONORMALIZEDSTAT,    tonormstatArgs);
     PXTOOL_MODE("-stacked",         DETTOOL_MODE_STACKED,       stacArgs);
 //    PXTOOL_MODE("-stackedframe",    DETTOOL_MODE_STACKEDFRAME,  stacframeArgs);
