On Sat, Dec 01, 2018 at 02:26:05PM +0100, Klemens Nanni wrote:
> On Sat, Dec 01, 2018 at 08:58:31AM +0100, Martijn van Duren wrote:
> > > I'm not sure the EINVAL error string adds valuable information. I would
> > > prefer if all these used variants of the idiom suggested in the strtonum
> > > manual, something like:
> > >
> > > errx("number of seconds is %s: %s", errstr, optarg);
> > > errx("battery percentage is %s: %s", errstr, optarg);
> > >
> > That might be even better.
> I agree, thanks for the input.
>
> OK?
ok