--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 <xiaolunwen@gmail.com>
This commit is contained in:
parent
59fe58577a
commit
b2efb45f64
|
@ -55,7 +55,7 @@ var cmdLoginAdd = cli.Command{
|
||||||
Usage: "Access token. Can be obtained from Settings > Applications",
|
Usage: "Access token. Can be obtained from Settings > Applications",
|
||||||
Required: true,
|
Required: true,
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.StringFlag{
|
||||||
Name: "ssh-key",
|
Name: "ssh-key",
|
||||||
Aliases: []string{"s"},
|
Aliases: []string{"s"},
|
||||||
Usage: "Path to a SSH key to use for pull/push operations",
|
Usage: "Path to a SSH key to use for pull/push operations",
|
||||||
|
|
Loading…
Reference in New Issue