[PATCH 3/6] wic/help: List missing option --workdir usage string

Gaël PORTAY <[email protected]> Thu, 2 Jul 2026 06:44:21 +0200
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
This lists missing option --workdir to usage string for 'wic create'.

As reported by CLI:

	$ 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-fsta
	                  wks_file
	wic create: error: the following arguments are required: wks_file

Signed-off-by: Gaël PORTAY <[email protected]>
---
 src/wic/help.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/wic/help.py b/src/wic/help.py
index ee5697f..b213e32 100644
--- a/src/wic/help.py
+++ b/src/wic/help.py
@@ -120,6 +120,7 @@ wic_create_usage = """
             [-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]
 
  This command creates an OpenEmbedded image based on the 'OE kickstart
  commands' found in the <wks file>.
@@ -141,6 +142,7 @@ SYNOPSIS
         [-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]
 
 DESCRIPTION
     This command creates an OpenEmbedded image based on the 'OE
-- 
2.43.0