Pádraig Brady <[email protected]> writes:

> I.e. support `coreutils PROG` in addition to the existing
> `coreutils --coreutils-prog=PROG` form. This is more natural and
> provides better compat with other implementations.  Note this restricts
> one to naming the multi-call binary ending with "coreutils".
>
> * NEWS: Mention the new feature.
> * doc/coreutils.texi (coreutils invocation): Mention the new
> explicit invocation form.
> * src/coreutils.c (main): Accept program name as the second arg.
> * tests/misc/coreutils.sh: Add test cases.
> ---
>  NEWS                    |  4 ++++
>  doc/coreutils.texi      | 14 +++++++++++---
>  src/coreutils.c         | 26 +++++++++++++-------------
>  tests/misc/coreutils.sh | 20 ++++++++++++++++++++
>  4 files changed, 48 insertions(+), 16 deletions(-)

Sounds good to me. I assume --coreutils-prog was never meant to be
written by users, but only for use with --enable-single-binary=shebangs?

Collin

Reply via email to