From: Denny Page Date: Tue, 6 Feb 2018 03:51:30 +0000 (-0800) Subject: Add missing options to usage X-Git-Tag: 1.0.0~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F266%2Fhead;p=thirdparty%2Flldpd.git Add missing options to usage --- 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");