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
$ cargo run -- -a bError: missing argument at end of command
This is Error::MissingValue's message if Parser doesn't remember an option. In 0.1.0 it was only returned by Parser::value(), at the end of the command line, but Parser::values() may return it if it encounters an option.
An easy fix would be to remove "at end of command" from the message, but maybe there's a better way out.
The text was updated successfully, but these errors were encountered:
A reasonable program would only cause a MissingValue after seeing an option, in which case this version of the message isn't used. So removing "at end of command" doesn't do much harm.
This code:
Has this behavior:
This is
Error::MissingValue
's message ifParser
doesn't remember an option. In 0.1.0 it was only returned byParser::value()
, at the end of the command line, butParser::values()
may return it if it encounters an option.An easy fix would be to remove "at end of command" from the message, but maybe there's a better way out.
The text was updated successfully, but these errors were encountered: