diff mbox series

[4/6] wic/help: Use comma to list short and long options

Message ID 20260702044425.846351-5-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
Usage and help strings lists short option + comma + long option for
every options at the exception of --outdir and --image-name.

This replaces the vertical bar by comma for consistency.

Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com>
---
 src/wic/help.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/src/wic/help.py b/src/wic/help.py
index b213e32..cbdf529 100644
--- a/src/wic/help.py
+++ b/src/wic/help.py
@@ -115,8 +115,8 @@  wic_create_usage = """
 
  Create a new OpenEmbedded image
 
- usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>]
-            [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
+ 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]
@@ -137,8 +137,8 @@  NAME
     wic create - Create a new OpenEmbedded image
 
 SYNOPSIS
-    wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>]
-        [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
+    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]