mirror of
https://github.com/cheat/cheat.git
synced 2025-09-01 01:28:30 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
82e1c27494 | |||
45beeb2edb | |||
c2c479b36c |
@ -17,7 +17,7 @@ import (
|
||||
"github.com/cheat/cheat/internal/installer"
|
||||
)
|
||||
|
||||
const version = "4.0.3"
|
||||
const version = "4.1.0"
|
||||
|
||||
func main() {
|
||||
|
||||
@ -185,6 +185,9 @@ func main() {
|
||||
case opts["<cheatsheet>"] != nil:
|
||||
cmd = cmdView
|
||||
|
||||
case opts["--tag"] != nil && opts["--tag"].(string) != "":
|
||||
cmd = cmdList
|
||||
|
||||
default:
|
||||
fmt.Println(usage())
|
||||
os.Exit(0)
|
||||
|
Reference in New Issue
Block a user