42db57ee18
--env's value is the RHS of one KEY=VALUE argv element, never its own argv position, so a leading "-" can never be parsed as a flag — unlike the key, which stays validated as an identifier. assertArg's leading-dash guard was reused for the value too, refusing ordinary values like "-1". Split it into assertEnvValue (no leading-dash check) for values only.
12 KiB
12 KiB