On Fri, Oct 24, 2014 at 01:48:33PM +0200, Benno Schulenberg wrote: > > On Fri, Oct 24, 2014, at 13:08, Karel Zak wrote: > > On Thu, Oct 23, 2014 at 10:44:31PM -0400, JWP wrote: > > > This patch set cleans up various message output. > > > It contains cosmetic changes only. > > > > > > J William Piggott (5): > > > hwclock: Remove newline from 'date' debug output > > > hwclock: clean up message periods/full stops > > > hwclock: add message line breaks > > > hwclock: Fix --date debug messages > > > hwclock: version prints out of order > > > > I'm going to merge these patches, > > Please no. Not the mere period and linebreak changes. Thanks for review, that's reason why I usually wait at least a day.. :-) > > but as a long term solution it would > > better to use include/debug.h stuff (see for example > > misc-utils/whereis.c or libmount/src/init.c). > > In hwclock the "debug" messages are gettextized, because in fact ah.. > they are verbose messages to help the user understand what hwclock > is doing. They are not meant to find programming errors in hwclock; > if that were the case, they wouldn't be gettextized, because a > programmer needs to be able to read an write English anyway. Good point, then it would be better to keen --debug independent on HWCLOCK_DEBUG=. But I still think that for so complex tool like hwclock we need a real debug output for developers / bug reporters. The current --debug is more like --verbose we have in another tools. Larel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html