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 {
 | 
			
		||||
		var sshKeys string
 | 
			
		||||
		prompt := &survey.Input{
 | 
			
		||||
			Message: "specify capsul SSH keys",
 | 
			
		||||
			Default: "me@foo.com,you@bar.com",
 | 
			
		||||
			Message: "specify capsul SSH keys (e.g. me@foo.com)",
 | 
			
		||||
			Default: "",
 | 
			
		||||
		}
 | 
			
		||||
		if err := survey.AskOne(prompt, &CapsulSSHKeys); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
@ -152,8 +152,8 @@ func EnsureNewHetznerCloudVPSFlags(c *cli.Context) error {
 | 
			
		||||
	if len(HetznerCloudSSHKeys.Value()) == 0 && !NoInput {
 | 
			
		||||
		var sshKeys string
 | 
			
		||||
		prompt := &survey.Input{
 | 
			
		||||
			Message: "specify hetzner cloud SSH keys",
 | 
			
		||||
			Default: "me@foo.com,you@bar.com",
 | 
			
		||||
			Message: "specify hetzner cloud SSH keys (e.g. me@foo.com)",
 | 
			
		||||
			Default: "",
 | 
			
		||||
		}
 | 
			
		||||
		if err := survey.AskOne(prompt, &sshKeys); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user