Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <ruediger.meier@ga-group.nl>
To: J William Piggott <elseifthen@gmx.com>
Cc: Karel Zak <kzak@redhat.com>, util-linux@vger.kernel.org
Subject: Re: [PATCH 3/5] hwclock: final usage() strings slice
Date: Mon, 3 Jul 2017 10:51:27 +0200	[thread overview]
Message-ID: <201707031051.27992.ruediger.meier@ga-group.nl> (raw)
In-Reply-To: <40df38f4-6bf5-1959-74af-6ee481b88a12@gmx.com>

On Sunday 02 July 2017, J William Piggott wrote:
> 
> Signed-off-by: J William Piggott <elseifthen@gmx.com>
> ---
>  sys-utils/hwclock.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
> index eeb68e7..19d7652 100644
> --- a/sys-utils/hwclock.c
> +++ b/sys-utils/hwclock.c
> @@ -1238,7 +1238,8 @@ usage(const struct hwclock_control *ctl)
>  #endif
>  	puts(_("     --update-drift   update the RTC drift factor"));
>  	printf(_(
> -	       "     --noadjfile      do not use %1$s\n"
> +	       "     --noadjfile      do not use %1$s\n"), _PATH_ADJTIME);
> +	printf(_(
>  	       "     --adjfile <file> use an alternate file to %1$s\n"), _PATH_ADJTIME);
>  	puts(_("     --test           dry run; use -D to view what would have happened"));
>  	puts(_(" -D, --debug          use debug mode"));

What about




> --
> To unsubscribe from this list: send the line "unsubscribe util-linux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

What about the mentioned whitespaces for puts() to get printf
on one line? 

  puts(  _("     --update-drift   update the RTC drift factor"));
  printf(_("     --noadjfile      do not use %1$s\n"), _PATH_ADJTIME);
  printf(_("     --adjfile <file> use an alternate file to %1$s\n"), _PATH_ADJTIME);
  puts(  _("     --test           dry run; use -D to view what would have happened"));
  puts(  _(" -D, --debug          use debug mode"));

cu,
Rudi

  reply	other threads:[~2017-07-03  8:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-02 19:45 [PATCH 0/5] pull request J William Piggott
2017-07-02 19:50 ` [PATCH 1/5] hwclock: remove from usage() FILE *out = stdout J William Piggott
2017-07-02 19:51 ` [PATCH 2/5] hwclock: usage() use program_invocation_short_name J William Piggott
2017-07-03  8:46   ` Ruediger Meier
2017-07-03 15:14     ` J William Piggott
2017-07-03 19:31       ` J William Piggott
2017-07-02 19:53 ` [PATCH 3/5] hwclock: final usage() strings slice J William Piggott
2017-07-03  8:51   ` Ruediger Meier [this message]
2017-07-03 15:35     ` J William Piggott
2017-07-04  7:58       ` Karel Zak
2017-07-04  8:34         ` Bernhard Voelker
2017-07-04  8:55           ` Ruediger Meier
2017-07-04  9:00             ` Bernhard Voelker
2017-07-04 16:53             ` Karel Zak
2017-07-04 17:06               ` Karel Zak
2017-07-05 17:45         ` J William Piggott
2017-07-02 19:54 ` [PATCH 4/5] docs: update boilerplate.c usage() J William Piggott
2017-07-02 19:55 ` [PATCH 5/5] hwclock: sync one-liner descriptions J William Piggott
2017-07-10 23:34 ` [PING - REBASED][PATCH 0/5] pull request J William Piggott
2017-07-11  8:06   ` Karel Zak
2017-07-11 17:54     ` J William Piggott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201707031051.27992.ruediger.meier@ga-group.nl \
    --to=ruediger.meier@ga-group.nl \
    --cc=elseifthen@gmx.com \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox