env: -u option fails due to typo
authorRon Yorston <rmy@pobox.com>
Mon, 25 Dec 2017 20:36:05 +0000 (21:36 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 25 Dec 2017 20:36:05 +0000 (21:36 +0100)
commit8d8ee910f0a624fefd2a4aaefeb406003dea7807
tree6c362ecdd08c525b59259400fe79a6a7cc4e7b71
parenta07fead8235c479f428dd5265e4f3539abb9c3fe
env: -u option fails due to typo

The -u option is supposed to be allowed to appear multiple times; the
option string supplied to getopt32long requires it to be followed by a
nonnegative integer.

Reported-by: Keith Maxwell <keith.maxwell@gmail.com>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/env.c