From patchwork Thu Jul 2 04:44:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABl_PORTAY?= X-Patchwork-Id: 91546 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D99FC43602 for ; Thu, 2 Jul 2026 04:45:40 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.62848.1782967536904922463 for ; Wed, 01 Jul 2026 21:45:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=A2VydoHd; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: gael.portay+rtone@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-493bb0e2894so2610645e9.2 for ; Wed, 01 Jul 2026 21:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782967535; x=1783572335; darn=lists.yoctoproject.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to:content-type; bh=rfmpKPbpI2ovkpE1vytNxxht1ARCviSlCGOOpt0zd4E=; b=A2VydoHdYsKYbtlENzZOyw2o/LY2H18OgEn7XnnOMpiakvY2MfPyxwEQNcB7Yvd8zA Uri7sQOWrUpET99Q5lU+7uZn+VeN2QRhxIvzGHPgn/afVaeWwE+hYnY3rRnTKllOSEWx DhSzZPW6tsUOKlHcOagL6gFYXDcZyQnxwPsJbywMbCsqiTbsi88bwLufsVKQL/wQn2zq XDonj/X6Di1kYz+lgw9ng8sZeWartOm2akdUWYFcQ5pPAUrSwT1m0TUT5Zb0NBaO3F9W VsAqHvkPuTkjT+HPYDU14aGxjPc6PbFLqxEvon7aDcks6N5cVmEtFfM92ufdbt9wCL26 YPqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782967535; x=1783572335; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rfmpKPbpI2ovkpE1vytNxxht1ARCviSlCGOOpt0zd4E=; b=QfNu1St0P9k2NEbRbW51ZpX7QllOXR3zGwTiTkZiCTeTnN/VlxDPTRwPSzg0isD+Yt Zat5317+TbUMDq61nMH/MD03Qn4S1A0Y23JGE4ea0IeUEGWlrE8dsuL/mORZ+0aGvnPb y3mEH8XCXahXwaJPPufLtR31FDPEfSaYG836K9u2QZmDUvsZHROePVAtsy+4RIz7kdrw ZvBsILMX4Z/q9KEmErluo/3HS0+mRxDpzrcQ/oR8NDkPzKBe7ZrOqzG/l2LXjkRGPq8H quX/eAGAPnZurz1rn2CURIXg5g9PVGV4wDuL3ylkUm/Yhf3l0ocLLU1ADwi8iuzwea2f oYVg== X-Gm-Message-State: AOJu0Yz9HoUEgm+0mcsLMJxHYfBcFqBs81J0n+A8YeQts9YzLxytq6Il zdTQ+vl0K4RGa9C+Vt9nvYDV+fU+FP09O7hXfWi5DuYWy5TJpNaFpomIiihQmjAb X-Gm-Gg: AfdE7ckzqvVqC2f2sh/PI5fVnxElSR4FnSYR6XPl35C2NqTyUbT023QnxwZ6ha7EjG4 AewJNHs/ytA9rQJEEUIFrJe/Vev6wdpkNNxUvLmlCM1iuN3GW/zEM9RIKjlSLdLjoBG3Lvuh25W 3gRcRuzGjRccCnyCM0JIBqJHaKfYuML8wLK5Sas+OzYR1H9IbpuaZVcOWxJR1O5S6wlACxgAf3t xq5AECoUO6bcxj1fxw4Ng79Sq5HlpxAEKAXPN+h8HBO1a+Lqz9jU/d6KDJfQKKgdnRj2+CAqA1m Ee5gyNMthWJgzWzNln2dNRHtFsYenwzuLELaUdF/Hvupukxj4pMxKVoeq5PD9N8eGGMKELl5oeK YKnnGQPzBITjsuaHp+Ie1W7lppv2SJeblOTUABsjUKTWeqp40ozrB5G4iUM1gF7og9G3vhhcu6/ Xn9Dsn9FvUTcxebJl8LIT/li4lNu7bWS2o+stJQc5wH3uZTCwHFwprjiyyPQ== X-Received: by 2002:a05:600c:524c:b0:492:6f90:d92a with SMTP id 5b1f17b1804b1-493c2b7f1b9mr33709395e9.4.1782967535082; Wed, 01 Jul 2026 21:45:35 -0700 (PDT) Received: from chipmunk-161.. ([2a01:e0a:ce:f2f0:8a40:d7a5:890a:fa7]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493c637bbcfsm15405275e9.6.2026.07.01.21.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 21:45:34 -0700 (PDT) Sender: =?utf-8?q?Ga=C3=ABl_PORTAY?= From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: yocto-patches@lists.yoctoproject.org Cc: twoerner@gmail.com, =?utf-8?q?Ga=C3=ABl_PORTAY?= Subject: [PATCH 5/6] wic/help: Refresh output of create command in overview help string Date: Thu, 2 Jul 2026 06:44:23 +0200 Message-ID: <20260702044425.846351-6-gael.portay+rtone@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260702044425.846351-1-gael.portay+rtone@gmail.com> References: <20260702044425.846351-1-gael.portay+rtone@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 02 Jul 2026 04:45:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/4358 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 --- 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 [-o | ...] - [-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 . - - 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