These are of course Bernhard's improvements,
I just did the testing (and some minor things).
diff --git a/NEWS b/NEWS
Is "argument" better than "option" here? Or, maybe:
now always process --help and --version options, regardless of any other
arguments present before any optinoal -- end-of-options marker.
I've used your phrasing, and also separated "nohup" from the rest
of the programs, as it does not accept --help/--version anywhere,
just as first arguments.
Attached updated patches, with tests.
comments welcomed,
- assaf
P.S.
There is at least one change in behavior, not sure if this is
bad enough to be a regression or doesn't really matter:
$ yes-OLD me -- --help | head -n1
me -- --help
$ yes-NEW me -- --help | head -n1
me --help