Fix create job usage

This commit is contained in:
Maciej Szulik 2018-04-06 23:31:53 +02:00
parent 8282eff12f
commit 370bdba4cf
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

View File

@ -60,7 +60,7 @@ func NewCmdCreateJob(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
Out: cmdOut, Out: cmdOut,
} }
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "job NAME [--from-cronjob=CRONJOB]", Use: "job NAME [--from=CRONJOB]",
Short: jobLong, Short: jobLong,
Long: jobLong, Long: jobLong,
Example: jobExample, Example: jobExample,