Skip to content

Explicitly set bin_name attribute for cargo-espflash #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Explicitly set `bin_name` attribute for `cargo-espflash` (#432)

### Changed

### Removed
Expand Down
2 changes: 1 addition & 1 deletion cargo-espflash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ cargo install cargo-espflash --features=raspberry
```text
Cargo subcommand for flashing Espressif devices

Usage: cargo-espflash espflash <COMMAND>
Usage: cargo espflash <COMMAND>

Commands:
board-info Establish a connection with a target device
Expand Down
2 changes: 1 addition & 1 deletion cargo-espflash/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mod error;
mod package_metadata;

#[derive(Debug, Parser)]
#[clap(version, propagate_version = true)]
#[clap(bin_name = "cargo", version, propagate_version = true)]
struct Cli {
#[clap(subcommand)]
subcommand: CargoSubcommand,
Expand Down