mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-08 16:45:30 +00:00
Fix usage text of cli sub-command 'cron' (#1420)
This commit is contained in:
parent
f0e518a5a2
commit
2730d3939a
5 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
var cronCreateCmd = &cli.Command{
|
||||
Name: "add",
|
||||
Usage: "adds a cron",
|
||||
Usage: "add a cron job",
|
||||
ArgsUsage: "[repo/name]",
|
||||
Action: cronCreate,
|
||||
Flags: append(common.GlobalFlags,
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
|
||||
var cronInfoCmd = &cli.Command{
|
||||
Name: "info",
|
||||
Usage: "display cron info",
|
||||
Usage: "display info about a cron job",
|
||||
ArgsUsage: "[repo/name]",
|
||||
Action: cronInfo,
|
||||
Flags: append(common.GlobalFlags,
|
||||
|
|
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
var cronListCmd = &cli.Command{
|
||||
Name: "ls",
|
||||
Usage: "list registries",
|
||||
Usage: "list cron jobs",
|
||||
ArgsUsage: "[repo/name]",
|
||||
Action: cronList,
|
||||
Flags: append(common.GlobalFlags,
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
var cronDeleteCmd = &cli.Command{
|
||||
Name: "rm",
|
||||
Usage: "remove a cron",
|
||||
Usage: "remove a cron job",
|
||||
ArgsUsage: "[repo/name]",
|
||||
Action: cronDelete,
|
||||
Flags: append(common.GlobalFlags,
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
var cronUpdateCmd = &cli.Command{
|
||||
Name: "update",
|
||||
Usage: "update a cron",
|
||||
Usage: "update a cron job",
|
||||
ArgsUsage: "[repo/name]",
|
||||
Action: cronUpdate,
|
||||
Flags: append(common.GlobalFlags,
|
||||
|
|
Loading…
Reference in a new issue