]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: document json0 output format 253/head
authorGregory Potamianos <gregory@skroutz.gr>
Wed, 8 Nov 2017 17:30:07 +0000 (19:30 +0200)
committerGregory Potamianos <gregory@skroutz.gr>
Wed, 8 Nov 2017 17:30:07 +0000 (19:30 +0200)
src/client/completion/_lldpcli
src/client/lldpcli.c

index f2dd880665b31c1b92692589f7af0880b2493421..ff942f1bb44d04477c09d6ba3357cdc32778444f 100644 (file)
@@ -31,7 +31,7 @@ _lldpcli () {
         '*-d[print more debugging information]' \
         '(- *)-v[print version number and exit]' \
         '-u[use an alternate socket with lldpd]:UNIX socket:_files' \
-        '-f[output format]:format:(plain xml json keyvalue)' \
+        '-f[output format]:format:(plain xml json json0 keyvalue)' \
         '*-c[read a configuration file]:configuration file:_files' \
         '(-)*::lldpcli command:__lldpcli_command'
 }
index 93da36a4082ffc43c08f7fd42c04242aa53c94dc..a7d9be4b4b20baf35433b0bf2283b013bc7167f9 100644 (file)
@@ -68,7 +68,7 @@ usage()
 
        fprintf(stderr, "-d          Enable more debugging information.\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, json"
+       fprintf(stderr, "-f format   Choose output format (plain, keyvalue, json, json0"
 #if defined USE_XML
            ", xml"
 #endif