Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 14075)
+++ /trunk/ippTools/src/dettool.c	(revision 14076)
@@ -64,5 +64,5 @@
 static bool addresidexpMode(pxConfig *config);
 static bool residexpMode(pxConfig *config);
-static bool residdetrunMode(pxConfig *config);
+static bool todetrunsummaryMode(pxConfig *config);
 static bool updateresidexpMode(pxConfig *config);
 static bool adddetrunsummaryMode(pxConfig *config);
@@ -135,5 +135,5 @@
         MODECASE(DETTOOL_MODE_ADDRESIDEXP,      addresidexpMode);
         MODECASE(DETTOOL_MODE_RESIDEXP,         residexpMode);
-        MODECASE(DETTOOL_MODE_RESIDDETRUN,      residdetrunMode);
+        MODECASE(DETTOOL_MODE_TODETRUNSUMMARY,  todetrunsummaryMode);
         MODECASE(DETTOOL_MODE_UPDATERESIDEXP,   updateresidexpMode);
         MODECASE(DETTOOL_MODE_ADDDETRUNSUMMARY, adddetrunsummaryMode);
@@ -5257,5 +5257,5 @@
 }
 
-static bool residdetrunMode(pxConfig *config)
+static bool todetrunsummaryMode(pxConfig *config)
 {
     PS_ASSERT_PTR_NON_NULL(config, false);
@@ -5314,5 +5314,5 @@
         "   HAVING\n"
         "       COUNT(detResidExp.exp_id) = COUNT(detInputExp.exp_id)\n"
-        " ) AS residdetrun\n"
+        " ) AS Foo\n"
         );
 
Index: /trunk/ippTools/src/dettool.h
===================================================================
--- /trunk/ippTools/src/dettool.h	(revision 14075)
+++ /trunk/ippTools/src/dettool.h	(revision 14076)
@@ -56,5 +56,5 @@
     DETTOOL_MODE_RESIDEXP,
     DETTOOL_MODE_ADDRESIDEXP,
-    DETTOOL_MODE_RESIDDETRUN,
+    DETTOOL_MODE_TODETRUNSUMMARY,
     DETTOOL_MODE_UPDATERESIDEXP,
     DETTOOL_MODE_ADDDETRUNSUMMARY,
Index: /trunk/ippTools/src/dettoolConfig.c
===================================================================
--- /trunk/ippTools/src/dettoolConfig.c	(revision 14075)
+++ /trunk/ippTools/src/dettoolConfig.c	(revision 14076)
@@ -765,9 +765,9 @@
             "use the simple output format", false);
 
-    // -residdetrun
-    psMetadata *residdetrunArgs = psMetadataAlloc();
-    psMetadataAddBool(residdetrunArgs, PS_LIST_TAIL, "-simple",  0,
-            "use the simple output format", false);
-    psMetadataAddU64(residdetrunArgs, PS_LIST_TAIL, "-limit",  0,
+    // -todetrunsummary
+    psMetadata *todetrunsummaryArgs = psMetadataAlloc();
+    psMetadataAddBool(todetrunsummaryArgs, PS_LIST_TAIL, "-simple",  0,
+            "use the simple output format", false);
+    psMetadataAddU64(todetrunsummaryArgs, PS_LIST_TAIL, "-limit",  0,
             "limit result set to N items", 0);
 
@@ -953,5 +953,5 @@
     PXTOOL_ADD_MODE("-addresidexp",     "", DETTOOL_MODE_ADDRESIDEXP,  addresidexpArgs);
     PXTOOL_ADD_MODE("-residexp",        "", DETTOOL_MODE_RESIDEXP,     residexpArgs);
-    PXTOOL_ADD_MODE("-residdetrun",     "", DETTOOL_MODE_RESIDDETRUN,  residdetrunArgs);
+    PXTOOL_ADD_MODE("-todetrunsummary",  "", DETTOOL_MODE_TODETRUNSUMMARY,  todetrunsummaryArgs);
     PXTOOL_ADD_MODE("-updateresidexp", "", DETTOOL_MODE_UPDATERESIDEXP,updateresidexpArgs);
     PXTOOL_ADD_MODE("-adddetrunsummary", "", DETTOOL_MODE_ADDDETRUNSUMMARY,adddetrunsummaryArgs);
