Ingo Schwarze wrote: > As there is no fully satisfactory option, i propose the patch below. > It add the "-W portable" command line option, which is a variant of > "-W style" hiding messages that only apply to base system manuals.
I'm not fond of the name portable. To me, this suggests it will check for things which impede portability, but that's not really what it does. It may have that effect in some cases, but more as an incidental effect. Instead, I suggest shifting the names by one. Leave -W style as the portable option, but introduce -W openbsd which performs the additional checks. Or better, name it -W system, so as to be useful on netbsd, etc. I think this matches the actual hierarchy in practice. There's errors and warnings at the top. Then there's general style warnings. Then below that there's the local system specific style guidelines. It's a matter of perspective, but the portable warnings aren't subset of style, rather the system warnings are a superset of style.
