Skip to content

Commit 57e0daf

Browse files
committed
Bump to 0.0.2
1 parent 5224d2c commit 57e0daf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

mob.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import (
1111
"time"
1212
)
1313

14+
const release = "0.0.2"
15+
1416
var wipBranch = "mob-session" // override with MOB_WIP_BRANCH environment variable
1517
var baseBranch = "master" // override with MOB_BASE_BRANCH environment variable
1618
var remoteName = "origin" // override with MOB_REMOTE_NAME environment variable
@@ -99,7 +101,7 @@ func main() {
99101
startZoomScreenshare()
100102
} else if command == "h" || command == "help" || command == "--help" || command == "-h" {
101103
help()
102-
} else if command == "v" || command == "version" || command == "--version" || command == "-v" {
104+
} else if command == "v" || command == "version" {
103105
version()
104106
} else {
105107
status()
@@ -352,8 +354,8 @@ func help() {
352354
say("\tmob [r]eset \t# resets any unfinished mob session")
353355
say("\tmob status \t# show status of mob session")
354356
say("\tmob share \t# start screenshare with zoom")
355-
say("\tmob --help \t# prints this help")
356-
say("\tmob --version \t# prints the version")
357+
say("\tmob help \t# prints this help")
358+
say("\tmob version \t# prints the version")
357359
say("")
358360
say("examples")
359361
say("\t mob start 10 \t# start 10 min session")
@@ -364,7 +366,7 @@ func help() {
364366
}
365367

366368
func version() {
367-
say("v0.0.1")
369+
say("v" + release)
368370
}
369371

370372
func silentgit(args ...string) string {

0 commit comments

Comments
 (0)