Skip to content

Commit

Permalink
update(gitlab&github): auth login
Browse files Browse the repository at this point in the history
Signed-off-by: K8sCat <[email protected]>
  • Loading branch information
k8scat committed Feb 14, 2022
1 parent c062967 commit 7b65b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/github/auth/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ var (
)

func init() {
loginCmd.Flags().BoolVar(&tokenStdin, "with-token", false, "Read cookie from standard input")
loginCmd.Flags().BoolVar(&tokenStdin, "with-token", false, "Read token from standard input")
}
2 changes: 1 addition & 1 deletion pkg/cmd/gitlab/auth/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ var (

func init() {
loginCmd.Flags().StringVar(&baseURL, "base-url", gitlabsdk.BaseURLJihuLab, "Base URL of GitLab instance")
loginCmd.Flags().BoolVar(&tokenStdin, "with-token", false, "Read cookie from standard input")
loginCmd.Flags().BoolVar(&tokenStdin, "with-token", false, "Read token from standard input")
}

0 comments on commit 7b65b35

Please sign in to comment.