Skip to content

Commit

Permalink
Fix auth register docs (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidCheckmarx authored Dec 7, 2020
1 parent d4d6f93 commit f5bc2a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/commands/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ func NewAuthCommand(authWrapper wrappers.AuthWrapper) *cobra.Command {
}
createClientCmd := &cobra.Command{
Use: "register",
Short: "Register new oath2 client for ast",
Short: "Register new oauth2 client for ast",
Long: "Register new oath2 client and outputs its generated credentials in the format <key>=<value>.\n" +
"If you wish to use this client with the cli set those credentials as environment variables.\n" +
"On Linux just wrap this command with eval e.g:\n" +
"On Linux just wrap this command with export e.g:\n" +
"\n" +
" eval $(ast auth register -u <user> -p <pass>) \n" +
" export $(ast auth register -u <user> -p <pass>) \n" +
"\n" +
"On Windows you can use PowerShell e.g.:\n" +
"\n" +
Expand Down

0 comments on commit f5bc2a2

Please sign in to comment.