From 7945853294f3af2cbbb2b644be6f8a393b6d5336 Mon Sep 17 00:00:00 2001 From: Marcus Crane Date: Mon, 11 Oct 2021 13:31:28 +1300 Subject: [PATCH] Correct help text for enabling Debug log level All in forms of documentation, the correct name for the second most verbose log level is "Debug" but under `wails dev --help`, it's called Dev Trying to use it throws an error as well so correcting the name to be Debug --- v2/cmd/wails/internal/commands/dev/dev.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/cmd/wails/internal/commands/dev/dev.go b/v2/cmd/wails/internal/commands/dev/dev.go index ba1fd3db6..5568fd9c6 100644 --- a/v2/cmd/wails/internal/commands/dev/dev.go +++ b/v2/cmd/wails/internal/commands/dev/dev.go @@ -88,7 +88,7 @@ func AddSubcommand(app *clir.Cli, w io.Writer) error { command.StringFlag("wailsjsdir", "Directory to generate the Wails JS modules", &flags.wailsjsdir) command.StringFlag("tags", "tags to pass to Go compiler (quoted and space separated)", &flags.tags) command.IntFlag("v", "Verbosity level (0 - silent, 1 - standard, 2 - verbose)", &flags.verbosity) - command.StringFlag("loglevel", "Loglevel to use - Trace, Dev, Info, Warning, Error", &flags.loglevel) + command.StringFlag("loglevel", "Loglevel to use - Trace, Debug, Info, Warning, Error", &flags.loglevel) command.BoolFlag("f", "Force build application", &flags.forceBuild) command.IntFlag("debounce", "The amount of time to wait to trigger a reload on change", &flags.debounceMS) command.StringFlag("devserverurl", "The url of the dev server to use", &flags.devServerURL)