From 384f5f59a58cc78546c5d913cbc207007fa4deb5 Mon Sep 17 00:00:00 2001 From: Denny Page Date: Mon, 5 Feb 2018 19:51:30 -0800 Subject: [PATCH] Add missing options to usage --- src/daemon/lldpd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 3affe281..51d690fe 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -98,10 +98,12 @@ usage(void) fprintf(stderr, "-k Disable advertising of kernel release, version, machine.\n"); fprintf(stderr, "-S descr Override the default system description.\n"); fprintf(stderr, "-P name Override the default hardware platform.\n"); - fprintf(stderr, "-m IP Specify the IPv4 management addresses of this system.\n"); + fprintf(stderr, "-m IP Specify the IP management addresses of this system.\n"); fprintf(stderr, "-u file Specify the Unix-domain socket used for communication with lldpctl(8).\n"); fprintf(stderr, "-H mode Specify the behaviour when detecting multiple neighbors.\n"); fprintf(stderr, "-I iface Limit interfaces to use.\n"); + fprintf(stderr, "-C iface Limit interfaces to use for computing chassis ID.\n"); + fprintf(stderr, "-L path Override path for lldpcli command.\n"); fprintf(stderr, "-O file Override default configuration locations processed by lldpcli(8) at start.\n"); #ifdef ENABLE_LLDPMED fprintf(stderr, "-M class Enable emission of LLDP-MED frame. 'class' should be one of:\n"); @@ -112,6 +114,7 @@ usage(void) #endif #ifdef USE_SNMP fprintf(stderr, "-x Enable SNMP subagent.\n"); + fprintf(stderr, "-X sock Specify the SNMP subagent socket.\n"); #endif fprintf(stderr, "\n"); -- 2.39.5