From bd0200da6e5a1a3d635fdd62dfa267145a137edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 5 Feb 2024 19:06:27 +0100 Subject: [PATCH] commands: Remove unused memstats flag --- commands/server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/server.go b/commands/server.go index e1a4b5cf5b4..78155521f34 100644 --- a/commands/server.go +++ b/commands/server.go @@ -538,9 +538,6 @@ of a second, you will be able to save and see your changes nearly instantly.` cmd.Flags().BoolVar(&c.disableFastRender, "disableFastRender", false, "enables full re-renders on changes") cmd.Flags().BoolVar(&c.disableBrowserError, "disableBrowserError", false, "do not show build errors in the browser") - cmd.Flags().String("memstats", "", "log memory usage to this file") - cmd.Flags().String("meminterval", "100ms", "interval to poll memory usage (requires --memstats), valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".") - cmd.Flags().SetAnnotation("tlsCertFile", cobra.BashCompSubdirsInDir, []string{}) cmd.Flags().SetAnnotation("tlsKeyFile", cobra.BashCompSubdirsInDir, []string{})