Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update init interface #184

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ipinfo/cmd_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func cmdInit() error {
}

fmt.Println("1) Enter an existing API token")
fmt.Println("2) Create a new account")
fmt.Println("2) Sign up or log in at ipinfo.io with your browser")
_, err := fmt.Scanf("%d", &opt)
if err != nil {
return fmt.Errorf("error reading input: %v", err)
Expand Down Expand Up @@ -207,7 +207,7 @@ func cmdInit() error {
return err
}

fmt.Println("Account created successfully.")
fmt.Println("API Token fetched successfully.")
break
}

Expand Down