commands: Remove unused memstats flag - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit bd0200da6e5a1a3d635fdd62dfa267145a137edc
DIR parent a80c3021ba6bfcaeb837568b06d379f2e67aa30a
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Mon, 5 Feb 2024 19:06:27 +0100
commands: Remove unused memstats flag
Diffstat:
M commands/server.go | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git 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{})