summaryrefslogtreecommitdiff
path: root/cmd/planr/sub/evaluate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/planr/sub/evaluate.go')
-rw-r--r--cmd/planr/sub/evaluate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/planr/sub/evaluate.go b/cmd/planr/sub/evaluate.go
index 21481a1..30d30d2 100644
--- a/cmd/planr/sub/evaluate.go
+++ b/cmd/planr/sub/evaluate.go
@@ -34,7 +34,7 @@ func jsonPrint(results gradingResults) {
fmt.Println(string(res))
}
-func Evaluate(runner planr.Runner, params []string, cfg planr.Config) {
+func Evaluate(runner planr.Runner, params []string, cfg *planr.Config) {
f := flag.NewFlagSet("evaluate", flag.ExitOnError)
jsonOutput := f.Bool("json", false, "print json output")