cmd: fix usage

We don't pass `[blueprint]` positionally anymore.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-01-17 09:35:05 +01:00
parent bf6645554f
commit 0c255f2bdb

View file

@ -172,7 +172,7 @@ operating sytsems like centos and RHEL with easy customizations support.`,
rootCmd.AddCommand(listImagesCmd)
manifestCmd := &cobra.Command{
Use: "manifest <image-type> [blueprint]",
Use: "manifest <image-type>",
Short: "Build manifest for the given distro/image-type, e.g. centos-9 qcow2",
RunE: cmdManifest,
SilenceUsage: true,
@ -188,7 +188,7 @@ operating sytsems like centos and RHEL with easy customizations support.`,
rootCmd.AddCommand(manifestCmd)
buildCmd := &cobra.Command{
Use: "build <image-type> [blueprint]",
Use: "build <image-type>",
Short: "Build the given distro/image-type, e.g. centos-9 qcow2",
RunE: cmdBuild,
SilenceUsage: true,