rename log-reasons to log-events with structured prefixes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user