Project

General

Profile

Actions

Feature #372

closed

Feature #353: Release v1.3

Support code for per-region file arguments

Added by Anastasia Klimchuk almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Release prep
Target version:
Start date:
04/28/2022
Due date:
% Done:

100%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Check whether everything is fine, fix issues of any.

Actions #1

Updated by Edward . almost 2 years ago

  • Assignee set to David Hendricks
Actions #2

Updated by Nico Huber almost 2 years ago

Had a superficial look:

  • manpage: --include vs. --image
  • register_include_arg(): Missing return-value checks for strdup()?

Could use more eyes.

It seems to work generally, just tested it with dummyflasher.

Actions #3

Updated by Anastasia Klimchuk over 1 year ago

After looking closer at "include vs image" we have discovered:
i
The patch 23021 changed --image option into --include option, changed the handling code and manpage. --image gone, there is --include instead.
The code and manpage are handling "-i" as "--include" and manpage describes "include" as alias for "-i". So the code processing the argument and manpage are consistent with each other.

However, help message that is printed from cli_classic still mentions "image", and does not mention "include" (see cli_classic_usage()).
Also in cli_classic, an array long_options[] still mentions "image" and does not mention "include".

Summarising, what to do:
1) update the help message printed from command line, see cli_classic_usage() in cli_classic
2) update long_options[] in cli_classic.

Actions #5

Updated by Anastasia Klimchuk over 1 year ago

  • % Done changed from 0 to 50
Actions #6

Updated by Anastasia Klimchuk over 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from David Hendricks to Anastasia Klimchuk
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF