]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Add an entry to the manual page for -S option.
authorVincent Bernat <bernat@luffy.cx>
Fri, 23 Apr 2010 22:01:01 +0000 (00:01 +0200)
committerVincent Bernat <bernat@luffy.cx>
Fri, 23 Apr 2010 22:01:52 +0000 (00:01 +0200)
man/lldpd.8
src/lldpd.c

index a4c5fc35371947238378c84e4086976db6f34026..71ca806b4f29cbbe2a75578ba568ce03a1d5ed19 100644 (file)
@@ -22,6 +22,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl dvxcseikl
+.Op Fl S Ar description
 .Op Fl X Ar socket
 .Op Fl m Ar management
 .Op Fl M Ar class
@@ -65,6 +66,12 @@ option, do not set it.
 Disable advertising of kernel release, version and machine. Kernel name
 (ie: Linux) will still be shared, and Inventory software version will be set
 to 'Unknown'.
+.It Fl S Ar description
+Override system description with the provided description. The default
+description is the kernel name, the node name, the kernel version, the
+build date and the architecture (except if you use the
+.Fl k
+flag described above).
 .It Fl x
 Enable SNMP subagent.
 With this option,
index 8db63ea3d202d796833d253af13a8493fec20829..cc0d18cdd8b62009b9682a055f169907ea3cb54a 100644 (file)
@@ -106,6 +106,7 @@ usage(void)
        fprintf(stderr, "-d       Do not daemonize.\n");
        fprintf(stderr, "-i       Disable LLDP-MED inventory TLV transmission.\n");
        fprintf(stderr, "-k       Disable advertising of kernel release, version, machine.\n");
+       fprintf(stderr, "-S descr Override the default system description.\n:");
        fprintf(stderr, "-m IP    Specify the management address of this system.\n");
 #ifdef ENABLE_LLDPMED
        fprintf(stderr, "-M class Enable emission of LLDP-MED frame. 'class' should be one of:\n");