Skip to content

Commit

Permalink
[feat] Renamed resume -> start
Browse files Browse the repository at this point in the history
  • Loading branch information
uppfinnarn committed Nov 2, 2016
1 parent a8793a6 commit 03d25e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions ctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ var commandPause = cli.Command{
Endpoint: /v1/status`,
}

var commandResume = cli.Command{
Name: "resume",
Usage: "Resumes a paused test",
var commandStart = cli.Command{
Name: "start",
Usage: "Starts a paused test",
ArgsUsage: " ",
Action: actionResume,
Description: `Resume resumes a previously paused test.
Action: actionStart,
Description: `Start starts a paused test.
This is the opposite of the pause command, and will do nothing to an already
running test.
Expand Down Expand Up @@ -172,7 +172,7 @@ func actionPause(cc *cli.Context) error {
return dumpYAML(status)
}

func actionResume(cc *cli.Context) error {
func actionStart(cc *cli.Context) error {
client, err := api.NewClient(cc.GlobalString("address"))
if err != nil {
log.WithError(err).Error("Couldn't create a client")
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ func main() {
commandStatus,
commandScale,
commandCap,
commandStart,
commandPause,
commandResume,
}
app.Flags = []cli.Flag{
cli.BoolFlag{
Expand Down

0 comments on commit 03d25e0

Please sign in to comment.