projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed sortm(1) verbose message and man page to reflect that with
[mmh]
/
uip
/
sortm.c
diff --git
a/uip/sortm.c
b/uip/sortm.c
index
d2486ee
..
45e2b29
100644
(file)
--- 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)
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);
}
else
printf ("sorting by datefield %s\n", datesw);
}