Nico Huber uploaded patch set #2 to this change.

View Change

[RFC] cli_classic: Add `--mode (read|write|verify|erase)` parameter

In case the user only wants to specify files for specific layout
regions, we need a way to set the operation without specifying a
file. Instead of making the <filename> argument optional, we can
add a new syntax for this particular purpose. This way, we avoid
complex command line parsing and can do more sanity checks and
provide better error messages.

TODO: Update manpage in case this gets accepted.

Change-Id: Idfba11ec9991aac423b07f68f7dc45e7bebbb06b
Signed-off-by: Nico Huber <nico.huber@secunet.com>
---
M cli_classic.c
1 file changed, 43 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/79/30979/2

To view, visit change 30979. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Idfba11ec9991aac423b07f68f7dc45e7bebbb06b
Gerrit-Change-Number: 30979
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset