Skip to content

Commit e5f0e17

Browse files
authored
Explicitly set bin_name attribute for cargo-espflash (#432)
* Explicitly set `bin_name` attribute for `cargo-espflash` * Update CHANGELOG
1 parent 3bba961 commit e5f0e17

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Fixed
1313

14+
- Explicitly set `bin_name` attribute for `cargo-espflash` (#432)
15+
1416
### Changed
1517

1618
### Removed

cargo-espflash/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cargo install cargo-espflash --features=raspberry
6060
```text
6161
Cargo subcommand for flashing Espressif devices
6262
63-
Usage: cargo-espflash espflash <COMMAND>
63+
Usage: cargo espflash <COMMAND>
6464
6565
Commands:
6666
board-info Establish a connection with a target device

cargo-espflash/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mod error;
3232
mod package_metadata;
3333

3434
#[derive(Debug, Parser)]
35-
#[clap(version, propagate_version = true)]
35+
#[clap(bin_name = "cargo", version, propagate_version = true)]
3636
struct Cli {
3737
#[clap(subcommand)]
3838
subcommand: CargoSubcommand,

0 commit comments

Comments
 (0)