rename log-reasons to log-events with structured prefixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-18 08:17:45 -08:00
parent 545a448bca
commit e3bed567ab
3 changed files with 13 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ func main() {
noARP := flag.Bool("no-arp", false, "disable ARP discovery")
noLLDP := flag.Bool("no-lldp", false, "disable LLDP discovery")
noSNMP := flag.Bool("no-snmp", false, "disable SNMP discovery")
logReasons := flag.Bool("log-reasons", false, "log addition reasons")
logEvents := flag.Bool("log-events", false, "log node events")
debugARP := flag.Bool("debug-arp", false, "debug ARP discovery")
debugLLDP := flag.Bool("debug-lldp", false, "debug LLDP discovery")
debugSNMP := flag.Bool("debug-snmp", false, "debug SNMP discovery")
@@ -22,7 +22,7 @@ func main() {
t.DisableARP = *noARP
t.DisableLLDP = *noLLDP
t.DisableSNMP = *noSNMP
t.LogReasons = *logReasons
t.LogEvents = *logEvents
t.DebugARP = *debugARP
t.DebugLLDP = *debugLLDP
t.DebugSNMP = *debugSNMP