Re: [hackers] [sbase][PATCH 1/2] libutil: Implement a simple yes/no prompt

From: Santtu Lakkala <inz_AT_inz.fi>
Date: Fri, 25 Nov 2022 15:21:13 +0200

On 20.11.2022 16.58, Tom Schwindl wrote:> I don't quite get why there is
a variable argument list instead of just using
> a single argument which contains the prompt. I can't see the need for formatting
> in a y/n prompt. I also wouldn't use `nomsg' since it just polutes stderr.

The specification for the -i flag says that the prompt must include the
path, so if the function is to print the prompt, formatting does make sense.

-- 
Santtu
Received on Fri Nov 25 2022 - 14:21:13 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2022 - 16:12:35 CET