mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Using the shell's exec -a feature can be awkward so add support for setting overriding argv[0]. This gives env full control over the arguments it passes. * src/env.c: Accept -a,--argv0 and set argv[0] appropriately. * tests/env/env.sh: Add test cases. * doc/coreutils.texi (env invocation): Describe -a,--argv0. * NEWS: Mention the new feature.