mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-13 03:58:45 +00:00
Update cmd/robots2policy/main.go
Co-authored-by: Xe Iaso <me@xeiaso.net> Signed-off-by: Jason Cameron <jasoncameron.all@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ type AnubisRule struct {
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
if *helpFlag || len(os.Args) == 1 {
|
||||
if *helpFlag || flag.Narg() == 0 {
|
||||
showHelp()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user