From b2efb45f64351231dd13669423d5f9688dc59329 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 12 Jun 2020 02:43:55 +0000 Subject: [PATCH] --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 --- 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",