diff options
author | Alan Pearce | 2024-06-28 18:21:57 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-28 18:22:39 +0200 |
commit | cade05bffc5da4fa5b9ce1df93b4eb2abd246e73 (patch) | |
tree | 7cb27ae8d81697eec693a1e4d5966bc4a9bf7fad /cmd/build | |
parent | 313f62584d7e5b59b9322442d0ee07a7526a0324 (diff) | |
download | website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.tar.lz website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.tar.zst website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.zip |
use pointers for builder configuration
Diffstat (limited to 'cmd/build')
-rw-r--r-- | cmd/build/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/build/main.go b/cmd/build/main.go index d39ddf3..08bf10e 100644 --- a/cmd/build/main.go +++ b/cmd/build/main.go @@ -12,8 +12,8 @@ import ( ) func main() { - ioConfig := builder.IOConfig{} - if help, err := conf.Parse("", &ioConfig); err != nil { + ioConfig := &builder.IOConfig{} + if help, err := conf.Parse("", ioConfig); err != nil { if errors.Is(err, conf.ErrHelpWanted) { fmt.Println(help) os.Exit(1) |