X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsortm.c;h=45e2b292fea355c434f209e333323d272e7204ea;hb=c897634e1c28697a6df572de00e66579567ad2a6;hp=d2486eef5d06d7ff4a9f30897eabc24b6053849e;hpb=a6f717992d5588898c37711aa1895dbb11016e1c;p=mmh diff --git a/uip/sortm.c b/uip/sortm.c index d2486ee..45e2b29 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -221,9 +221,10 @@ main (int argc, char **argv) if (verbose) { /* announce what we're doing */ if (subjsort) - printf ("sorting by %s-major %s-minor\n", - submajor ? subjsort : datesw, - submajor ? datesw : subjsort); + if (submajor) + printf ("sorting by %s\n", subjsort); + else + printf ("sorting by %s-major %s-minor\n", subjsort, datesw); else printf ("sorting by datefield %s\n", datesw); }