error: unexpected argument '--flag' found

  note: to pass '--flag' as a value, use '-- --flag'

Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
       cargo add [OPTIONS] --path <PATH> ...
       cargo add [OPTIONS] --git <URL> ...

For more information, try '--help'.
