brson/multirust

Unrecognized option `--verbose`

mmatyas opened this issue · 1 comments

Running multirust default stable --verbose produces this output:

multirust: checking metadata version
multirust: got metadata version 2
multirust: cmd: default
multirust: toolchain: stable
multirust: option_name: --verbose
multirust: option_value: 
multirust: unrecognized option --verbose

multirust default --verbose stable or multirust --verbose default stable doesn't work either.

brson commented

This is because the options parser is quite primitive. This option and -y are both scanned for before the main command parsing and then left as part of the argument list to be misentirpreted by the later command parsers. Should be a relatively easy fix to remove those arguments as they are found.