Theo de Raadt(dera...@openbsd.org) on 2018.02.20 22:27:27 -0700:
> 
> If you read through all the options in the manual page carefully,
> ifconfig is not consistant.  As a result it cannot use getopt.
> It isn't a POSIX argument grammar.  It grew up with that funky
> table, and there we are.
> 
> Both cases occur.  "-option argument" and "-option".  There is
> even at least one case of "-option [optarg]" (-carpdemote [number]).

I would be happy if this would become "carpdemote [-]number",
but i guess its a bit too late to change now.
 

Reply via email to