diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 19:06:27 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 19:06:27 +0100 |
commit | bd0200da6e5a1a3d635fdd62dfa267145a137edc (patch) | |
tree | 5290a7d2495e12e108cbb54b05fbf4df5e962eeb | |
parent | a80c3021ba6bfcaeb837568b06d379f2e67aa30a (diff) | |
download | hugo-bd0200da6e5a1a3d635fdd62dfa267145a137edc.tar.gz hugo-bd0200da6e5a1a3d635fdd62dfa267145a137edc.zip |
commands: Remove unused memstats flag
-rw-r--r-- | commands/server.go | 3 |
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{}) |