Skip to content

Normalize similar arguments #752

@SergioGasquez

Description

@SergioGasquez

erase-region takes two arguments:

Usage: espflash erase-region [OPTIONS] <OFFSET> <SIZE>

Arguments:
  <OFFSET>
          Offset to start erasing from

  <SIZE>
          Size of the region to erase
Options:

read-flash takes arguments:

Usage: espflash read-flash [OPTIONS] <OFFSET> <SIZE> <FILE>

Arguments:
  <OFFSET>
          Offset to start reading from

  <SIZE>
          Size of the region to read

  <FILE>
          Name of binary dump

checksum-md5 takes to required options:

Usage: espflash checksum-md5 [OPTIONS] --address <ADDRESS> --length <LENGTH>

Options:
  -a, --address <ADDRESS>
          Start address

  -l, --length <LENGTH>
          Length

Also, names of the same thing are different.

We should also look for other places where this migth occur

Metadata

Metadata

Assignees

Labels

CLIIssues relating to the command-line interface

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions