Skip to content

Commit 5ac4c8a

Browse files
committed
remotemobprogramming#356 open timer website in browser
1 parent 2b2e954 commit 5ac4c8a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ Basic Commands(Options):
180180
181181
Timer Commands:
182182
timer <minutes> start a <minutes> timer
183+
timer open opens the timer website
183184
start <minutes> start mob session in wip branch and a <minutes> timer
184185
break <minutes> start a <minutes> break timer
185186

help/help.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Basic Commands with Options:
3333
3434
Timer Commands:
3535
timer <minutes> Start <minutes> minutes timer
36+
timer open Opens the timer website
3637
start <minutes> Start mob session in wip branch and a <minutes> timer
3738
break <minutes> Start <minutes> break timer
3839

mob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func execute(command string, parameter []string, configuration config.Configurat
315315
status(configuration)
316316
case "t", "timer":
317317
if len(parameter) > 0 {
318-
if parameter[0] == "--open" || parameter[0] == "-o" {
318+
if parameter[0] == "open" || parameter[0] == "o" {
319319
if err := openTimerInBrowser(configuration); err != nil {
320320
say.Error(fmt.Sprintf("Could not open webtimer: %s", err.Error()))
321321
}

0 commit comments

Comments
 (0)