mirror of
https://github.com/quexten/goldwarden.git
synced 2024-09-11 19:17:33 +03:00
Merge pull request #225 from argonaut0/patch-1
Fix SSH add command's help string
This commit is contained in:
commit
0146533075
@ -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
Block a user