forked from toolshed/abra
		
	fix: show defaults, dont set
This commit is contained in:
		| @ -73,8 +73,8 @@ func EnsureNewCapsulVPSFlags(c *cli.Context) error { | |||||||
| 	if len(CapsulSSHKeys.Value()) == 0 && !NoInput { | 	if len(CapsulSSHKeys.Value()) == 0 && !NoInput { | ||||||
| 		var sshKeys string | 		var sshKeys string | ||||||
| 		prompt := &survey.Input{ | 		prompt := &survey.Input{ | ||||||
| 			Message: "specify capsul SSH keys", | 			Message: "specify capsul SSH keys (e.g. me@foo.com)", | ||||||
| 			Default: "me@foo.com,you@bar.com", | 			Default: "", | ||||||
| 		} | 		} | ||||||
| 		if err := survey.AskOne(prompt, &CapsulSSHKeys); err != nil { | 		if err := survey.AskOne(prompt, &CapsulSSHKeys); err != nil { | ||||||
| 			return err | 			return err | ||||||
| @ -152,8 +152,8 @@ func EnsureNewHetznerCloudVPSFlags(c *cli.Context) error { | |||||||
| 	if len(HetznerCloudSSHKeys.Value()) == 0 && !NoInput { | 	if len(HetznerCloudSSHKeys.Value()) == 0 && !NoInput { | ||||||
| 		var sshKeys string | 		var sshKeys string | ||||||
| 		prompt := &survey.Input{ | 		prompt := &survey.Input{ | ||||||
| 			Message: "specify hetzner cloud SSH keys", | 			Message: "specify hetzner cloud SSH keys (e.g. me@foo.com)", | ||||||
| 			Default: "me@foo.com,you@bar.com", | 			Default: "", | ||||||
| 		} | 		} | ||||||
| 		if err := survey.AskOne(prompt, &sshKeys); err != nil { | 		if err := survey.AskOne(prompt, &sshKeys); err != nil { | ||||||
| 			return err | 			return err | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user