Fix word ordering

pull/1539/head
Jeff Mitchell 5 years ago
parent 21e61d362e
commit bc240da52b

@ -27,11 +27,11 @@ func (c *StaticCommand) extraStaticHelpFunc(helpMap map[string]func() string) st
switch c.Func {
case "create":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary hosts static create [options] [args]",
"Usage: boundary hosts create static [options] [args]",
"",
" Create a static-type host. Example:",
"",
` $ boundary hosts static create -name prodops -description "Static host for ProdOps" -address "127.0.0.1"`,
` $ boundary hosts create static -name prodops -description "Static host for ProdOps" -address "127.0.0.1"`,
"",
"",
})

@ -46,11 +46,11 @@ func (c *TcpCommand) extraTcpHelpFunc(helpMap map[string]func() string) string {
case "update":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary targets tcp update [options] [args]",
"Usage: boundary targets update tcp [options] [args]",
"",
" Update a tcp-type target given its ID. Example:",
"",
` $ boundary targets tcp update -id ttcp_1234567890 -name "devops" -description "Tcp target for DevOps"`,
` $ boundary targets update tcp -id ttcp_1234567890 -name "devops" -description "Tcp target for DevOps"`,
"",
"",
})

Loading…
Cancel
Save