From f5167bcff6e3a752a47f6278c937e12b50e06c00 Mon Sep 17 00:00:00 2001 From: DavePearce Date: Tue, 15 Oct 2024 20:22:29 +0100 Subject: [PATCH] Fix `trace` command This fixes the `trace` command which was failing due to a mis-matched summariser. --- pkg/cmd/trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/trace.go b/pkg/cmd/trace.go index 1e066005..3d3177b3 100644 --- a/pkg/cmd/trace.go +++ b/pkg/cmd/trace.go @@ -59,7 +59,7 @@ var traceCmd = &cobra.Command{ func init() { rootCmd.AddCommand(traceCmd) traceCmd.Flags().BoolP("list", "l", false, "list only the columns in the trace file") - traceCmd.Flags().StringArrayP("include", "i", []string{"rows", "bitwidth", "bytes", "elements"}, + traceCmd.Flags().StringArrayP("include", "i", []string{"lines", "bitwidth", "bytes", "elements"}, fmt.Sprintf("specify information to include in column listing: %s", summariserOptions())) traceCmd.Flags().Bool("stats", false, "print summary information about the trace file") traceCmd.Flags().BoolP("print", "p", false, "print entire trace file")