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

* Explicitly set `bin_name` attribute for `cargo-espflash`

* Update CHANGELOG
This commit is contained in:
Jesse Braham
2023-06-20 01:52:19 -07:00
committed by GitHub
parent 3bba961245
commit e5f0e17a2d
3 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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,