commands: Reinstate some of the removed build flags (e.g. --theme) to new and mod

Fixes #11018
This commit is contained in:
Bjørn Erik Pedersen
2023-05-28 10:44:40 +02:00
parent e96cdfe966
commit 43f1282e73
13 changed files with 84 additions and 33 deletions

View File

@@ -509,7 +509,7 @@ of a second, you will be able to save and see your changes nearly instantly.`
cmd.Flags().String("meminterval", "100ms", "interval to poll memory usage (requires --memstats), valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".")
r := cd.Root.Command.(*rootCommand)
applyLocalBuildFlags(cmd, r)
applyLocalFlagsBuild(cmd, r)
return nil
}