From 7b65b35f45ff6f41c285a63289315692ce349852 Mon Sep 17 00:00:00 2001 From: K8sCat Date: Mon, 14 Feb 2022 08:57:18 +0800 Subject: [PATCH] update(gitlab&github): auth login Signed-off-by: K8sCat --- pkg/cmd/github/auth/login.go | 2 +- pkg/cmd/gitlab/auth/login.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/github/auth/login.go b/pkg/cmd/github/auth/login.go index f4f3fc0..8ae078c 100644 --- a/pkg/cmd/github/auth/login.go +++ b/pkg/cmd/github/auth/login.go @@ -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") } diff --git a/pkg/cmd/gitlab/auth/login.go b/pkg/cmd/gitlab/auth/login.go index 8e4ed0c..31c60da 100644 --- a/pkg/cmd/gitlab/auth/login.go +++ b/pkg/cmd/gitlab/auth/login.go @@ -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") }