[PATCH 0/6] wic/help: Refresh wic create help and usage strings
Gaël PORTAY <[email protected]> Thu, 2 Jul 2026 06:44:18 +0200
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
Hello maintainers,
That patch series refreshes a bit the help and usage strings for wic
create.
The first patch removes the removed option --infile, while the following
two patches list the missing options --no-fstab-update and --workdir as
compared to `wic create` output:
usage: wic create [-h] [-o OUTDIR] [-w WORKDIR] [-e IMAGE_NAME]
[-r ROOTFS_DIR] [-b BOOTIMG_DIR]
[-k KERNEL_DIR] [-n NATIVE_SYSROOT] [-s] [-f]
[-c {gzip,bzip2,xz}] [-m] [--no-fstab-update]
[-v VARS_DIR] [-D] [-i IMAGER]
[--extra-space EXTRA_SPACE]
[--sector-size SECTOR_SIZE]
wks_file
wic create: error: the following arguments are required: wks_file
The fourth patch fixes inconsistent output between options by replacing
the character `|' to `,'.
The fifth patch updates the output of command `wic create` that is
hardcoded in the overview help string.
And the last patch outputs option capitalized values that are missing
for options requiring a value; also, it ensure the lines are wrapped to
80-characters.
Regards,
Gaël PORTAY (6):
wic/help: Drop removed --infile option from help string
wic/help: List missing option --no-fstab-update to usage string
wic/help: List missing option --workdir usage string
wic/help: Use comma to list short and long options
wic/help: Refresh output of create command in overview help string
wic/help: Add missing option values and rewrap lines
src/wic/help.py | 52 +++++++++++++++++++++----------------------------
1 file changed, 22 insertions(+), 30 deletions(-)
--
2.43.0