cmd: fix usage
We don't pass `[blueprint]` positionally anymore. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
bf6645554f
commit
0c255f2bdb
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue