From 0c255f2bdbada2b2f4543688bd0b1ffb3c279c5f Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Fri, 17 Jan 2025 09:35:05 +0100 Subject: [PATCH] cmd: fix usage We don't pass `[blueprint]` positionally anymore. Signed-off-by: Simon de Vlieger --- cmd/image-builder/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/image-builder/main.go b/cmd/image-builder/main.go index bf20788..594bb5d 100644 --- a/cmd/image-builder/main.go +++ b/cmd/image-builder/main.go @@ -172,7 +172,7 @@ operating sytsems like centos and RHEL with easy customizations support.`, rootCmd.AddCommand(listImagesCmd) manifestCmd := &cobra.Command{ - Use: "manifest [blueprint]", + Use: "manifest ", 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 [blueprint]", + Use: "build ", Short: "Build the given distro/image-type, e.g. centos-9 qcow2", RunE: cmdBuild, SilenceUsage: true,