Fix SSH add command's help string

This commit is contained in:
Jason 2024-05-26 21:55:08 -07:00 committed by GitHub
parent 09c7e7521f
commit d85cea14ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

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