Re: [PATCH 02/17] setterm: use getopt_long_only() for option parsing

Karel Zak
2014-05-19T09:29:26Z

On Sun, May 18, 2014 at 03:05:26PM +0100, Sami Kerola wrote:
> +static void set_opt_flag(int *opt)
> +{
> + if (*opt)
> + errx(EXIT_FAILURE, "duplicate use of an option");

NLS.. _("duplicate use of an option")

> + *opt = 1;
> +}

Karel

--
Karel Zak <kzak@redhat.com>