File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import (
11
11
"time"
12
12
)
13
13
14
+ const release = "0.0.2"
15
+
14
16
var wipBranch = "mob-session" // override with MOB_WIP_BRANCH environment variable
15
17
var baseBranch = "master" // override with MOB_BASE_BRANCH environment variable
16
18
var remoteName = "origin" // override with MOB_REMOTE_NAME environment variable
@@ -99,7 +101,7 @@ func main() {
99
101
startZoomScreenshare ()
100
102
} else if command == "h" || command == "help" || command == "--help" || command == "-h" {
101
103
help ()
102
- } else if command == "v" || command == "version" || command == "--version" || command == "-v" {
104
+ } else if command == "v" || command == "version" {
103
105
version ()
104
106
} else {
105
107
status ()
@@ -352,8 +354,8 @@ func help() {
352
354
say ("\t mob [r]eset \t # resets any unfinished mob session" )
353
355
say ("\t mob status \t # show status of mob session" )
354
356
say ("\t mob share \t # start screenshare with zoom" )
355
- say ("\t mob -- help \t # prints this help" )
356
- say ("\t mob -- version \t # prints the version" )
357
+ say ("\t mob help \t # prints this help" )
358
+ say ("\t mob version \t # prints the version" )
357
359
say ("" )
358
360
say ("examples" )
359
361
say ("\t mob start 10 \t # start 10 min session" )
@@ -364,7 +366,7 @@ func help() {
364
366
}
365
367
366
368
func version () {
367
- say ("v0.0.1" )
369
+ say ("v" + release )
368
370
}
369
371
370
372
func silentgit (args ... string ) string {
You can’t perform that action at this time.
0 commit comments