You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Fuchsia command line rubric, and general Unix practice, a single dash is not allowed as a key or switch, but that's how argh treats it, because it doesn't have a special case for it like it does for --.
A single dash ('-') on its own is reserved for future use.
As such, it would be incorrect to treat it as a positional argument. However, a dedicated error message could improve upon the current Unrecognized argument: -.
According to the Fuchsia command line rubric, and general Unix practice, a single dash is not allowed as a key or switch, but that's how argh treats it, because it doesn't have a special case for it like it does for
--
.argh/argh/src/lib.rs
Line 893 in 3f3c297
This means that to pass a single dash as a positional argument, you have to pass
-- -
, which is very unintuitive.The text was updated successfully, but these errors were encountered: