File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77type DeleteCommand struct {
88 Tube string `short:"t" long:"tube" description:"tube to be delete." required:"true"`
99 State string `short:"s" long:"state" description:"peek from 'buried', 'ready' or 'delayed' queues." default:"buried"`
10- Print bool `short:"" long:"print" description:"prints the jobs after delete it."`
11- Empty bool `short:"" long:"empty" description:"delete all jobs with the given status in the given tube."`
10+ Print bool `short:"p " long:"print" description:"prints the jobs after delete it."`
11+ Empty bool `short:"e " long:"empty" description:"delete all jobs with the given status in the given tube."`
1212 Command
1313}
1414
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
1010type PutCommand struct {
1111 Tube string `short:"t" long:"tube" description:"tube to be tailed." required:"true"`
1212 Body string `short:"b" long:"body" description:"plain text data for the job." required:"true"`
13- Priority uint32 `short:"" long:"priority" description:"priority for the job." default:"1024"`
14- Delay time.Duration `short:"" long:"delay" description:"delay for the job." default:"0"`
13+ Priority uint32 `short:"p " long:"priority" description:"priority for the job." default:"1024"`
14+ Delay time.Duration `short:"d " long:"delay" description:"delay for the job." default:"0"`
1515 TTR time.Duration `short:"" long:"ttr" description:"TTR for the job." default:"60"`
1616
1717 Command
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var TooManyErrorsError = errors.New("Too many errors")
1313
1414type TailCommand struct {
1515 Tube string `short:"t" long:"tube" description:"tube to be tailed." required:"true"`
16- Action string `short:"" long:"action" description:"action to perform after reserver the job. (release, bury, delete)" default:"release"`
16+ Action string `short:"a " long:"action" description:"action to perform after reserver the job. (release, bury, delete)" default:"release"`
1717
1818 Command
1919}
You can’t perform that action at this time.
0 commit comments