From 413b9d6985d12c778a82a17ec3e96461191719cd Mon Sep 17 00:00:00 2001 From: 6543 <6543@noreply.gitea.io> Date: Mon, 15 Jun 2020 15:27:15 +0000 Subject: [PATCH] --ssh-key should be string not bool (#135) (#137) --ssh-key should be string not bool (#135) --ssh-key should be string not bool Fix #134 Reviewed-on: https://gitea.com/gitea/tea/pulls/135 Reviewed-by: 6543 <6543@noreply.gitea.io> Reviewed-by: Lunny Xiao Co-authored-by: techknowlogick Reviewed-on: https://gitea.com/gitea/tea/pulls/137 Reviewed-by: John Olheiser --- cmd/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/login.go b/cmd/login.go index 6f827fb..0d34a98 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -55,7 +55,7 @@ var cmdLoginAdd = cli.Command{ Usage: "Access token. Can be obtained from Settings > Applications", Required: true, }, - &cli.BoolFlag{ + &cli.StringFlag{ Name: "ssh-key", Aliases: []string{"s"}, Usage: "Path to a SSH key to use for pull/push operations",