docs: mention missing -T options for compose and forward
A template file may be specified for compose and forward as well. Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
f0f7cf347c
commit
92bf89c338
4 changed files with 20 additions and 8 deletions
commands/account
|
@ -72,7 +72,7 @@ func buildBody(args []string) (string, string, error) {
|
|||
}
|
||||
posargs := args[optind:]
|
||||
if len(posargs) > 1 {
|
||||
return "", template, errors.New("Usage: compose [-H] [body]")
|
||||
return "", template, errors.New("Usage: compose [-H header] [-T template] [body]")
|
||||
}
|
||||
if len(posargs) == 1 {
|
||||
body = posargs[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue