util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Two changes before we go to rc
@ 2017-09-04  1:14 J William Piggott
  2017-09-04  1:17 ` [PATCH 1/1] hwclock: update usage() J William Piggott
  2017-09-05 11:00 ` [PATCH 0/1] Two changes before we go to rc Karel Zak
  0 siblings, 2 replies; 5+ messages in thread
From: J William Piggott @ 2017-09-04  1:14 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux


With the recent comment regarding the pending rc, I'd like to make
two small string changes before we send them off for translation.

During this cycle all of hwclock usage strings have been changed, but
I still do not like the debug description.

I looked at what the other utils are using; there are only two others
with a debug option and their strings are no better for hwclock, IMO.
So I looked at usage strings for the verbose option. In 27
occurrences there are 15 different descriptions. The most recent one,
written by Karel, I think is good for both debug (except uuidd) and
verbose (it could be made a usage constant to reduce 17 strings to
1). It is: "display more details"

The second change was the subject of a long discussion which ended
without a consensus. My last volley went unanswered:
https://marc.info/?l=util-linux-ng&m=150124890123757&w=2

So this patch also makes the usage constants for help and version use
the same verb; which Karel originally said was an improvement:
https://marc.info/?l=util-linux-ng&m=149794873321562&w=2


CURRENT DEBUG AND VERBOSE USAGE STRINGS.

ldattach.c:    -d, --debug   print verbose messages to stderr
hwclock.c:     -D, --debug   use debug mode
uuidd.c:       -d, --debug   run in debugging mode

setarch.c:     -v, --verbose say what options are being switched on
ipcrm.c:       -v, --verbose explain what is being done
swapon.c:      -v, --verbose verbose mode
swapoff.c:     -v, --verbose verbose mode
chmem.c:       -v, --verbose verbose output
mount.c:       -v, --verbose say what is being done
eject.c:       -v, --verbose enable verbose output
readprofile.c: -v, --verbose print verbose data
fstrim.c:      -v, --verbose print number of discarded bytes
prlimit.c:         --verbose verbose output
losetup.c:     -v, --verbose verbose mode
umount.c:      -v, --verbose say what is being done
fallocate.c:   -v, --verbose verbose mode
blkzone.c:     -v, --verbose display more details
blkdiscard.c:  -v, --verbose print aligned length and offset
rtcwake.c:     -v, --verbose verbose messages
rename.c:      -v, --verbose explain what is being done
mcookie.c:     -v, --verbose explain what is being done
chrt.c:        -v, --verbose display status information
mesg.c:        -v, --verbose explain what is being done
mkfs.bfs.c:    -v, --verbose explain what is being done
fsck.minix.c:  -v, --verbose be verbose
mkfs.c:        -v            be verbose
mkfs.c:        -V, --verbose explain what is being done;
blockdev.c:    -v            verbose mode
fsck.c:        -v, --verbose be more verbose
partx.c:       -v, --verbose verbose mode

J William Piggott (1):
  hwclock: update usage()

 include/c.h         | 2 +-
 sys-utils/hwclock.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-08  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04  1:14 [PATCH 0/1] Two changes before we go to rc J William Piggott
2017-09-04  1:17 ` [PATCH 1/1] hwclock: update usage() J William Piggott
2017-09-05 11:00 ` [PATCH 0/1] Two changes before we go to rc Karel Zak
2017-09-07 20:50   ` J William Piggott
2017-09-08  7:39     ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).