wip-flag-migration #28

Merged
Alfred-mk merged 44 commits from wip-flag-migration into master 2024-09-04 11:25:34 +02:00
Showing only changes of commit 1957606bc2 - Show all commits

View File

@ -6,6 +6,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"io" "io"
"log"
"os" "os"
"path" "path"
"strconv" "strconv"
@ -71,6 +72,7 @@ func main() {
} }
// Register the flag // Register the flag
Review

A logline to show debug the flag loaded would be nice

A logline to show debug the flag loaded would be nice
log.Printf("Registering flagName:%s; flagValue:%v", flagName, flagValue)
state.FlagDebugger.Register(uint32(flagValue), flagName) state.FlagDebugger.Register(uint32(flagValue), flagName)
} }