Accounts can update login-name. Fix help text for subtype resource update and creates. (#575)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-10-07 16:33:04 -07:00
1 parent 4354cf8582
commit 83314b7750
6 files changed
+21 -21

No files matched your search

@@ -40,22 +40,22 @@ func (c *PasswordCommand) Help() string {
switch c.Func {
case "create":
info = base.WrapForHelpText([]string{
"Usage: boundary auth-methods password create [options] [args]",
"Usage: boundary auth-methods create password [options] [args]",
"",
" Create a password-type auth-method. Example:",
"",
` $ boundary auth-methods password create -name prodops -description "Password auth-method for ProdOps"`,
` $ boundary auth-methods create password -name prodops -description "Password auth-method for ProdOps"`,
"",
"",
})
case "update":
info = base.WrapForHelpText([]string{
"Usage: boundary auth-methods password update [options] [args]",
"Usage: boundary auth-methods update password [options] [args]",
"",
" Update a password-type auth-method given its ID. Example:",
"",
` $ boundary auth-methods password update -id ampw_1234567890 -name "devops" -description "Password auth-method for DevOps"`,
` $ boundary auth-methods update password -id ampw_1234567890 -name "devops" -description "Password auth-method for DevOps"`,
"",
"",
})