From 58d29b19e91fd86865ab68c6ee4fd8f1abdf8618 Mon Sep 17 00:00:00 2001 From: vsariola <5684185+vsariola@users.noreply.github.com> Date: Sat, 10 Apr 2021 16:11:24 +0300 Subject: [PATCH] sointu-compile: improve the printed help for command line options --- cmd/sointu-compile/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sointu-compile/main.go b/cmd/sointu-compile/main.go index 77ed1fa..f5313b3 100644 --- a/cmd/sointu-compile/main.go +++ b/cmd/sointu-compile/main.go @@ -40,9 +40,9 @@ func main() { tmplDir := flag.String("t", "", "When compiling, use the templates in this directory instead of the standard templates.") outPath := flag.String("o", "", "Directory or filename where to write compiled code. Extension is ignored. Directory and its parents are created if needed. By default, everything is placed in the same directory where the original song file is.") extensionsOut := flag.String("e", "", "Output only the compiled files with these comma separated extensions. For example: h,asm") - targetArch := flag.String("arch", runtime.GOARCH, "Target architecture. Defaults to OS architecture. Possible values: 386, amd64") + targetArch := flag.String("arch", runtime.GOARCH, "Target architecture. Defaults to OS architecture. Possible values: 386, amd64, wasm") output16bit := flag.Bool("i", false, "Compiled song should output 16-bit integers, instead of floats.") - targetOs := flag.String("os", runtime.GOOS, "Target OS. Defaults to current OS. Possible values: windows, darwin, linux. Anything else is assumed linuxy.") + targetOs := flag.String("os", runtime.GOOS, "Target OS. Defaults to current OS. Possible values: windows, darwin, linux. Anything else is assumed linuxy. Ignored when targeting wasm.") flag.Usage = printUsage flag.Parse() if (flag.NArg() == 0 && !*library) || *help {