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
Describe the bug
I have been invoking cargo-about --version to check whether cargo-about is installed in a script before kicking off a cargo install cargo-about only if it is required.
It appears the --version flag no longer exists
To Reproduce
$ cargo about --versionerror: Found argument '--version' which wasn't expected, or isn't valid in this context If you tried to supply `--version` as a value rather than a flag, use `-- --version`USAGE: cargo-about [OPTIONS] <SUBCOMMAND>For more information try --help
$ cargo-about --versionerror: Found argument '--version' which wasn't expected, or isn't valid in this context If you tried to supply `--version` as a value rather than a flag, use `-- --version`USAGE: cargo-about [OPTIONS] <SUBCOMMAND>For more information try --help
$ cargo about -- --versionerror: Found argument '--version' which wasn't expected, or isn't valid in this context If you tried to supply `--version` as a value rather than a flag, use `-- --version`USAGE: cargo-about [OPTIONS] <SUBCOMMAND>For more information try --help
$ cargo-about -- --versionerror: Found argument '--version' which wasn't expected, or isn't valid in this context If you tried to supply `--version` as a value rather than a flag, use `-- --version`USAGE: cargo-about [OPTIONS] <SUBCOMMAND>For more information try --help
Expected behavior
cargo about --version and cargo-about --version output the version of the executable and exit with a success status code.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have been invoking
cargo-about --version
to check whethercargo-about
is installed in a script before kicking off acargo install cargo-about
only if it is required.It appears the
--version
flag no longer existsTo Reproduce
Expected behavior
cargo about --version
andcargo-about --version
output the version of the executable and exit with a success status code.The text was updated successfully, but these errors were encountered: