"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd.conf.5: Fix a typo
To:
Tracey Emery <tracey@traceyemery.net>
Cc:
gameoftrees@openbsd.org, Josiah Frentsos <jfrent@tilde.team>
Date:
Sun, 7 May 2023 10:02:33 +0200

Download raw body.

Thread
On Sat, May 06, 2023 at 05:05:56PM -0600, Tracey Emery wrote:
> No is a valid configuration, which is why it was listed. But cool idea and near catch, regardless. Yes no, on off, true false. At least my brain says that was the original idea.

The man page displays "on | off" for such settings.

Supporting both "no" and "on" as valid syntax with an opposite meaning
could easily result in accidental misconfiguration.
Should we remove "yes/no" from the syntax to prevent this?