From: Klemens Nanni Subject: Re: env: -u name To: Theo Buehler Cc: tech@openbsd.org Date: Sun, 28 Jul 2024 21:44:55 +0000 29.07.2024 00:18, Theo Buehler пишет: >> Feedback? Objection? OK? > >> - while ((ch = getopt(argc, argv, "i-")) != -1) >> + while ((ch = getopt(argc, argv, "-iu:")) != -1) > > Having - in the first position of opstring is special. This breaks > setting environment variables. > > $ env FOO=foo > usage: env [-i] [-u name] [name=value ...] [utility [argument ...]] > > Could someone please revert or fix this? Oops, fixed, thanks.