Skip to content

Commit 7cd71c8

Browse files
authored
Fixed docs for read-flash size parameter (#623)
* Fixed docs for ReadFlashArgs The size parameter of the read-flash subcommand indicated it was erasing flash. * Update CHANGELOG.md
1 parent c39d021 commit 7cd71c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
### Fixed
13+
- Fixed help text for size parameter of read-flash subcommand
1314

1415
### Changed
1516

espflash/src/cli/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub struct ReadFlashArgs {
198198
/// Connection configuration
199199
#[clap(flatten)]
200200
connect_args: ConnectArgs,
201-
/// Size of the region to erase
201+
/// Size of the region to read
202202
#[arg(value_name = "SIZE", value_parser = parse_uint32)]
203203
pub size: u32,
204204
/// Name of binary dump

0 commit comments

Comments
 (0)