Fix SSH add command's help string
This commit is contained in:
parent
09c7e7521f
commit
d85cea14ff
|
@ -18,12 +18,12 @@ var sshCmd = &cobra.Command{
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// runCmd represents the run command
|
// sshAddCmd represents the ssh add command
|
||||||
var sshAddCmd = &cobra.Command{
|
var sshAddCmd = &cobra.Command{
|
||||||
Use: "add",
|
Use: "add",
|
||||||
Short: "Runs a command with environment variables from your vault",
|
Short: "Creates a new SSH key and adds it to the SSH Agent.",
|
||||||
Long: `Runs a command with environment variables from your vault.
|
Long: `Creates a new SSH key and adds it to the SSH Agent.
|
||||||
The variables are stored as a secure note. Consult the documentation for more information.`,
|
The key is stored as a secure note. Consult the documentation for more information.`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
err := loginIfRequired()
|
err := loginIfRequired()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue