[PATCH 6/6] wic/help: Add missing option values and rewrap lines
Gaël PORTAY <[email protected]> Thu, 2 Jul 2026 06:44:24 +0200
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
Some options take values, but those values are missing from the usage
and help strings.
$ wic create
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
This adds and capitalizes the missing option values, and rewraps lines
to 80-characters.
Signed-off-by: Gaël PORTAY <[email protected]>
---
src/wic/help.py | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/wic/help.py b/src/wic/help.py
index 05e838a..837695b 100644
--- a/src/wic/help.py
+++ b/src/wic/help.py
@@ -116,11 +116,12 @@ wic_create_usage = """
Create a new OpenEmbedded image
usage: wic create <wks file or image name> [-o, --outdir <DIRNAME>]
- [-e, --image-name] [-s, --skip-build-check] [-D, --debug]
- [-r, --rootfs-dir] [-b, --bootimg-dir]
- [-k, --kernel-dir] [-n, --native-sysroot] [--sector-size <bytes>] [-f, --build-rootfs]
- [-c, --compress-with] [-m, --bmap] [--no-fstab-update]
- [-w, --workdir]
+ [-e, --image-name <IMGNAME>] [-s, --skip-build-check] [-D, --debug]
+ [-r, --rootfs-dir <DIRNAME>] [-b, --bootimg-dir <DIRNAME>]
+ [-k, --kernel-dir <DIRNAME>] [-n, --native-sysroot <DIRNAME>]
+ [--sector-size <BYTES>] [-f, --build-rootfs]
+ [-c, --compress-with gzip|bzip2|xz] [-m, --bmap]
+ [-w, --workdir <DIRNAME>]
This command creates an OpenEmbedded image based on the 'OE kickstart
commands' found in the <wks file>.
@@ -138,11 +139,12 @@ NAME
SYNOPSIS
wic create <wks file or image name> [-o, --outdir <DIRNAME>]
- [-e, --image-name] [-s, --skip-build-check] [-D, --debug]
- [-r, --rootfs-dir] [-b, --bootimg-dir]
- [-k, --kernel-dir] [-n, --native-sysroot] [--sector-size <bytes>] [-f, --build-rootfs]
- [-c, --compress-with] [-m, --bmap] [--no-fstab-update]
- [-w, --workdir]
+ [-e, --image-name <IMGNAME>] [-s, --skip-build-check] [-D, --debug]
+ [-r, --rootfs-dir <DIRNAME>] [-b, --bootimg-dir <DIRNAME>]
+ [-k, --kernel-dir <DIRNAME>] [-n, --native-sysroot <DIRNAME>]
+ [--sector-size <BYTES>] [-f, --build-rootfs]
+ [-c, --compress-with gzip|bzip2|xz] [-m, --bmap] [--no-fstab-update]
+ [-w, --workdir <DIRNAME>]
DESCRIPTION
This command creates an OpenEmbedded image based on the 'OE
--
2.43.0