Skip to content

Commit

Permalink
fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusLindroth committed Jun 28, 2020
1 parent 04bbba4 commit 3bc225e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.vscode
Makefile
bin/
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func main() {
CreateDefaultConfig("./config.example.ini")
os.Exit(0)
case "--help":
fallthrough
case "-h":
fmt.Print("tut - a TUI for Mastodon with vim inspired keys.\n\n")
fmt.Print("Usage:\n\n")
Expand All @@ -41,6 +42,7 @@ func main() {
fmt.Printf("\thttps://github.com/RasmusLindroth/tut\n")
os.Exit(0)
case "--version":
fallthrough
case "-v":
fmt.Printf("tut version %s\n\n", version)
fmt.Printf("https://github.com/RasmusLindroth/tut\n")
Expand Down

0 comments on commit 3bc225e

Please sign in to comment.