[PATCH 5/6] wic/help: Refresh output of create command in overview help string
Gaël PORTAY <[email protected]> Thu, 2 Jul 2026 06:44:23 +0200
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
The output of wic create with no argument has changed. This refreshes the ouput of wic create command in the overview help string. Signed-off-by: Gaël PORTAY <[email protected]> --- src/wic/help.py | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/wic/help.py b/src/wic/help.py index cbdf529..05e838a 100644 --- a/src/wic/help.py +++ b/src/wic/help.py @@ -705,26 +705,15 @@ DESCRIPTION $ wic create - Usage: - - Create a new OpenEmbedded image - - usage: wic create <wks file or image name> [-o <DIRNAME> | ...] - [-e | --image-name] [-s, --skip-build-check] [-D, --debug] - [-r, --rootfs-dir] [-b, --bootimg-dir] [-k, --kernel-dir] - [-n, --native-sysroot] [-f, --build-rootfs] - - This command creates an OpenEmbedded image based on the 'OE - kickstart commands' found in the <wks file>. - - The -o option can be used to place the image in a directory - with a different name and location. - - See 'wic help create' for more detailed instructions. - ... - - As mentioned in the command, you can get even more detailed - information by adding 'help' to the above: + 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 + + You can get even more detailed information by adding 'help' to the above: $ wic help create -- 2.43.0