Skip to content

Commit

Permalink
update help and read me for authorization method
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcador committed Nov 23, 2020
1 parent ba8d7b9 commit 776d0b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tenderly login

| Flag | Default | Description |
| --- | --- | --- |
| --authentication-method | / | Pick the authentication method. Possible values are email or token |
| --authentication-method | / | Pick the authentication method. Possible values are email or access-key |
| --email | / | The email used when authentication method is email |
| --password | / | The password used when authentication method is email |
| --token | / | The token used when authentication method is token |
Expand Down
2 changes: 1 addition & 1 deletion commands/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func init() {
loginCmd.PersistentFlags().StringVar(&providedEmail, "email", "", "The email used for logging in.")
loginCmd.PersistentFlags().StringVar(&providedPassword, "password", "", "The password used for logging in.")
loginCmd.PersistentFlags().StringVar(&providedAccessKey, "access-key", "", "The access key generated in your Tenderly dashboard.")
loginCmd.PersistentFlags().StringVar(&providedAuthenticationMethod, "authentication-method", "", "Pick the authentication method. Possible values are email or token.")
loginCmd.PersistentFlags().StringVar(&providedAuthenticationMethod, "authentication-method", "", "Pick the authentication method. Possible values are email or access-key.")
loginCmd.PersistentFlags().BoolVar(&forceLogin, "force", false, "Don't check if you are already logged in.")
rootCmd.AddCommand(loginCmd)
}
Expand Down

0 comments on commit 776d0b4

Please sign in to comment.