diff --git a/src/main.go b/src/main.go index 0a756b6..e4eab6d 100644 --- a/src/main.go +++ b/src/main.go @@ -17,17 +17,12 @@ import ( // === internal vars (no need to edit these!) === var running bool -var i_was_IPv6 = false -var i_was_ported = false var i_last_method string var i_methods []string //go:embed methods.txt var i_methods_file embed.FS -//go:embed help.txt -var i_help_file embed.FS - // === timings === // minimum wait for an update (ms). @@ -50,7 +45,7 @@ var port_chance = 0.05 func main() { - if argIndex("h") >= 0 { + if argIndex("h") >= 0 || argIndex("help") >= 0 { showHelp() return }