Merge pull request #225 from argonaut0/patch-1

Fix SSH add command's help string
This commit is contained in:
Bernd Schoolmann 2024-05-27 19:55:25 +02:00 committed by GitHub
commit 0146533075
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 {