Skip to content

Commit

Permalink
Fix collision
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Jun 6, 2023
1 parent 6a7acc7 commit e898f8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/olekukonko/ts"
)

const localVersion = "1.6.6"
const localVersion = "1.6.7"

var bold = color.New(color.Bold)
var boldBlue = color.New(color.Bold, color.FgBlue)
Expand Down Expand Up @@ -65,7 +65,7 @@ func main() {

if input == "-v" || input == "--version" {
fmt.Println("tgpt", localVersion)
} else if input == "-c" || input == "--changelog" {
} else if input == "-cl" || input == "--changelog" {
getVersionHistory()
} else if input == "-s" || input == "--shell" {
if len(args) > 2 && len(args[2]) > 1 {
Expand Down Expand Up @@ -176,7 +176,7 @@ func main() {
fmt.Printf("%-50v Print help message \n", "-h, --help")
fmt.Printf("%-50v Start normal interactive mode \n", "-i, --interactive")
fmt.Printf("%-50v Start multi-line interactive mode \n", "-m, --multiline")
fmt.Printf("%-50v See changelog of versions \n", "-c, --changelog")
fmt.Printf("%-50v See changelog of versions \n", "-cl, --changelog")

if runtime.GOOS != "windows" {
fmt.Printf("%-50v Update program \n", "-u, --update")
Expand Down

0 comments on commit e898f8f

Please sign in to comment.