I'm aware that i'm replying to an obvious troll.
Just clarifying what's going on here for bystanders
who might feel confused.

> CVSROOT:    /cvs
> Module name:    src
> Changes by: mill...@cvs.openbsd.org 2023/09/20 10:57:12
> 
> Modified files:
>     usr.bin/awk    : main.c
> 
> Log message:
> Support --version option like upstream awk but don't document it.
> 
> Upstream awk has supported --version for a long time but does not
> support -V like our awk does.  Both options are supported by gawk.

This is perfectly in line with OpenBSD project goals.

Usually, we do not support long options at all because their
very existence violates POSIX and because, if a programs needs
more options than there are letters in the alphabet, that usually
means the program was seriously misdesigned.

In some cases, some long options that are synonymous with short
options are so widely used that supporting them *for compatibility
purposes only* makes the life easier for some people, for example
for our porting team.  In those cases, supporting them without
cluttering up the documentation is a perfectly sane approach, in
particular when the option is as useless as -V in the first place.
Note that most OpenBSD programs, for good reasons, do not provide
an option to print any version number in the first place.

In some rare cases, practical considerations make it seem worthwhile
to make an exception and provide a long option - usually popularized by
GNU in open defiance of POSIX - that does not have a short equivalent.
In such cases, we do usually document the long option.  But that's not
the case here.

None of these are hard rules, common sense and good judgement is
always needed, but i certainly agree with what Todd did in this case.

So everybody, please refrain from insulting Todd who is just doing
some good work here, for free, and for everybody's benefit.

Now, let's please stop this thread and discuss something relevant.

Yours,
  Ingo

Reply via email to