commit 87c079e7593663825f8183f8ffaf9fde0620836f
parent 04039e54de0d71c309105b7d09c799ea40372ad5
Author: gearsix <gearsix@tuta.io>
Date: Sun, 11 Apr 2021 02:53:32 +0100
updated suti.go to use new Template
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/suti.go b/cmd/suti.go
@@ -99,7 +99,7 @@ func main() {
template, err := suti.LoadTemplateFile(opts.RootPath, opts.PartialPaths...)
assert(err, "unable to load templates")
- out, err := suti.ExecuteTemplate(template, super)
+ out, err := template.ExecuteTemplate(super)
assert(err, "failed to execute template '%s'", opts.RootPath)
fmt.Print(out.String())
@@ -107,7 +107,7 @@ func main() {
}
func help() {
- fmt.Println("Usage: suti [OPTIONS]\n")
+ fmt.Print("Usage: suti [OPTIONS]\n\n")
fmt.Print("Options")
fmt.Print(`