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:
Robin Jarry 2022-01-19 20:57:48 +01:00
parent f0f7cf347c
commit 92bf89c338
4 changed files with 20 additions and 8 deletions
commands/account

View file

@ -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]