Project

General

Profile

Actions

Feature #372

closed
AK AK

Feature #353: Release v1.3

Support code for per-region file arguments

Feature #372: Support code for per-region file arguments

Added by Anastasia Klimchuk almost 4 years ago. Updated about 3 years 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.

E. Updated by Edward . almost 4 years ago Actions #1

  • Assignee set to David Hendricks

NH Updated by Nico Huber over 3 years ago Actions #2

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.

AK Updated by Anastasia Klimchuk over 3 years ago Actions #3

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.

AK Updated by Anastasia Klimchuk about 3 years ago Actions #5

  • % Done changed from 0 to 50

AK Updated by Anastasia Klimchuk about 3 years ago Actions #6

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

Also available in: PDF Atom