Index: trunk/ippTools/src/difftool.c
===================================================================
--- trunk/ippTools/src/difftool.c	(revision 30729)
+++ trunk/ippTools/src/difftool.c	(revision 30907)
@@ -2681,4 +2681,5 @@
 
     PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false);
+    PXOPT_LOOKUP_S16(quality, config->args, "-set_quality", false, false);
 
     psMetadata *where = psMetadataAlloc();
@@ -2686,5 +2687,5 @@
     PXOPT_COPY_STR(config->args, where, "-skycell_id", "skycell_id",   "==");
 
-    if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, fault)) {
+    if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, fault, quality)) {
         psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag");
         psFree (where);
