Add some more logs.

This commit is contained in:
Foil-hat-guy 2025-04-21 00:19:48 +03:00
parent 31cbc929d3
commit bd2c81aad1
No known key found for this signature in database
GPG key ID: 221CC305A7B23591

2
ui.go
View file

@ -19,6 +19,8 @@ func init() {
func detectFlag(shortFlag string, fullFlag string) bool {
for _, arg := range os.Args {
fmt.Println(arg)
fmt.Println(fullFlag)
fmt.Println(arg == fullFlag)
return containFlag(arg, shortFlag) || arg == fullFlag
}