Some logs added for debuging.

This commit is contained in:
Foil-hat-guy 2025-04-21 22:05:53 +03:00
parent 99171bc0a2
commit 65a464cc3d
No known key found for this signature in database
GPG key ID: 221CC305A7B23591

View file

@ -38,6 +38,9 @@ func init() {
os.Exit(1)
}
fmt.Println(flagIsSet(arg, "h"))
fmt.Println(arg == "--help")
for _, arg := range os.Args {
if flagIsSet(arg, "h") || arg == "--help" {
fmt.Println(string(help))