diff mbox series

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

Message ID 20260702044425.846351-4-gael.portay+rtone@gmail.com
State New
Headers show
Series wic/help: Refresh wic create help and usage strings | expand

Commit Message

Gaël PORTAY July 2, 2026, 4:44 a.m. UTC
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 <gael.portay+rtone@gmail.com>
---
 src/wic/help.py | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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