From eff607958c83ca40f2b478bad5b3da655d81595d Mon Sep 17 00:00:00 2001 From: Romain Marcadier Date: Wed, 18 Sep 2024 16:47:43 +0200 Subject: [PATCH] Forgot some changes --- internal/cmd/toolexec.go | 2 +- internal/toolexec/proxy/compile.flags.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cmd/toolexec.go b/internal/cmd/toolexec.go index 574533b4..1c0f4727 100644 --- a/internal/cmd/toolexec.go +++ b/internal/cmd/toolexec.go @@ -63,7 +63,7 @@ var Toolexec = &cli.Command{ return err } - log.Tracef("Toolexec final command: %q/n", proxyCmd.Args()) + log.Tracef("Toolexec final command: %q\n", proxyCmd.Args()) return proxy.RunCommand(proxyCmd) }, } diff --git a/internal/toolexec/proxy/compile.flags.go b/internal/toolexec/proxy/compile.flags.go index ba7209a6..ae3a70f3 100644 --- a/internal/toolexec/proxy/compile.flags.go +++ b/internal/toolexec/proxy/compile.flags.go @@ -23,6 +23,7 @@ func (f *compileFlagSet) parse(args []string) ([]string, error) { flagSet.Bool("N", false, "disable optimizations") flagSet.Bool("S", false, "print assembly listing") flagSet.BoolFunc("V", "print version and exit", func(string) error { + f.showVersion = true return nil }) flagSet.Bool("W", false, "debug parse tree after type checking")