summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-05 19:06:27 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-05 19:06:27 +0100
commitbd0200da6e5a1a3d635fdd62dfa267145a137edc (patch)
tree5290a7d2495e12e108cbb54b05fbf4df5e962eeb
parenta80c3021ba6bfcaeb837568b06d379f2e67aa30a (diff)
commands: Remove unused memstats flag
-rw-r--r--commands/server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/server.go b/commands/server.go
index e1a4b5cf5..78155521f 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{})