]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: document `-u` argument in synopsis
authorVincent Bernat <vincent@bernat.im>
Tue, 8 Jul 2014 20:57:03 +0000 (22:57 +0200)
committerVincent Bernat <vincent@bernat.im>
Tue, 8 Jul 2014 20:57:03 +0000 (22:57 +0200)
src/client/lldpcli.8.in
src/client/lldpcli.c

index 4b533114ed7693d2df1e911160e9eb1420f84fd1..3e29e0ad684d2bfe6fd6bc036a6cf1093e54bc3b 100644 (file)
 .Sh SYNOPSIS
 .Nm
 .Op Fl dv
-.Op Fl u Ar file
+.Op Fl u Ar socket
 .Op Fl f Ar format
 .Op Fl c Ar file
 .Op Ar command ...
 .Nm lldpctl
 .Op Fl dv
-.Op Fl u Ar file
+.Op Fl u Ar socket
 .Op Fl f Ar format
 .Op Ar interfaces ...
 .Sh DESCRIPTION
@@ -49,7 +49,7 @@ The options are as follows:
 .Bl -tag -width Ds
 .It Fl d
 Enable more debugging information.
-.It Fl u
+.It Fl u Ar socket
 Specify the Unix-domain socket used for communication with
 .Xr lldpd 8 .
 .It Fl v
index 246cea35a20184091ae9c5864dd9309ebb05d14b..c68cb3a66b43d57b638a2e1c52c215619cbdccc6 100644 (file)
@@ -67,10 +67,10 @@ usage()
        fprintf(stderr, "\n");
 
        fprintf(stderr, "-d          Enable more debugging information.\n");
-       fprintf(stderr, "-u          Specify the Unix-domain socket used for communication with lldpd(8).\n");
+       fprintf(stderr, "-u socket   Specify the Unix-domain socket used for communication with lldpd(8).\n");
        fprintf(stderr, "-f format   Choose output format (plain, keyvalue or xml).\n");
        if (!is_lldpctl(NULL))
-               fprintf(stderr, "-c          Read the provided configuration file.\n");
+               fprintf(stderr, "-c conf     Read the provided configuration file.\n");
 
        fprintf(stderr, "\n");