X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a6f717992d5588898c37711aa1895dbb11016e1c..f8baa5a34335fc0fc8ccabfabc601d0af73ab769:/uip/sortm.c diff --git a/uip/sortm.c b/uip/sortm.c index d2486eef..45e2b292 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); }