mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Image is a required parameter
This commit is contained in:
parent
54dc9db17b
commit
2f59dd752c
@ -82,7 +82,7 @@ func NewCreateJobOptions(ioStreams genericclioptions.IOStreams) *CreateJobOption
|
||||
func NewCmdCreateJob(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
|
||||
o := NewCreateJobOptions(ioStreams)
|
||||
cmd := &cobra.Command{
|
||||
Use: "job NAME [--image=image --from=cronjob/name] -- [COMMAND] [args...]",
|
||||
Use: "job NAME --image=image [--from=cronjob/name] -- [COMMAND] [args...]",
|
||||
Short: jobLong,
|
||||
Long: jobLong,
|
||||
Example: jobExample,
|
||||
|
Loading…
Reference in New Issue
Block a user