"ipfs key gen": include newline when printing generated key

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
This commit is contained in:
Kevin Atkinson 2017-01-09 21:15:54 -05:00
parent 4cb236caa4
commit c6ce6d3b1d

View File

@ -125,7 +125,7 @@ var KeyGenCmd = &cmds.Command{
return nil, fmt.Errorf("expected a KeyOutput as command result")
}
return strings.NewReader(k.Id), nil
return strings.NewReader(k.Id + "\n"), nil
},
},
Type: KeyOutput{},