main: tweak the help of manifest and build
This commit tweaks the help output for the manifest and build commands to make clear that only the image type is a required argument but the rest can be overriden via extra flags. Thanks to Achilleas for noticing.
This commit is contained in:
parent
c72ed92a2f
commit
0f0815d268
1 changed files with 2 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ operating systems like Fedora, CentOS and RHEL with easy customizations support.
|
|||
|
||||
manifestCmd := &cobra.Command{
|
||||
Use: "manifest <image-type>",
|
||||
Short: "Build manifest for the given distro/image-type, e.g. centos-9 qcow2",
|
||||
Short: "Build manifest for the given image-type, e.g. qcow2 (tip: combine with --distro, --arch)",
|
||||
RunE: cmdManifest,
|
||||
SilenceUsage: true,
|
||||
Args: cobra.ExactArgs(1),
|
||||
|
|
@ -253,7 +253,7 @@ operating systems like Fedora, CentOS and RHEL with easy customizations support.
|
|||
|
||||
buildCmd := &cobra.Command{
|
||||
Use: "build <image-type>",
|
||||
Short: "Build the given distro/image-type, e.g. centos-9 qcow2",
|
||||
Short: "Build the given image-type, e.g. qcow2 (tip: combine with --distro, --arch)",
|
||||
RunE: cmdBuild,
|
||||
SilenceUsage: true,
|
||||
Args: cobra.ExactArgs(1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue