Attention is currently required from: Felix Singer, Edward O'Callaghan.
Hello Felix Singer, build bot (Jenkins), Edward O'Callaghan,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/66343
to look at the new patch set (#7).
Change subject: cli_classic: refactor arguments parsing into separate func ......................................................................
cli_classic: refactor arguments parsing into separate func
Move variables that represent parsed options to `cli_options` structure. This patchset also introduces the following functions:
- parse_options() which parses command line arguments and fills the structure. - free_options() that releases an allocated data from the structure.
This is one of the steps on the way to simplify the main function by using helper functions with descriptive names.
TOPIC=split_main_func TEST=builds
Change-Id: Id573bc74e3bb46b7dc42f1452fff6394d4f091bc Signed-off-by: Alexander Goncharov chat@joursoir.net --- M cli_classic.c 1 file changed, 388 insertions(+), 343 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/43/66343/7