From 506526477e8bf403a35c5230dbf51fbc862d255e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 8 Aug 2015 18:24:40 +0200 Subject: [PATCH] client: make lldpctl also accepts `-u` flag Close: #129 --- src/client/lldpcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/lldpcli.c b/src/client/lldpcli.c index fc97c612..dc22da6f 100644 --- a/src/client/lldpcli.c +++ b/src/client/lldpcli.c @@ -432,7 +432,7 @@ main(int argc, char *argv[]) int ch, debug = 1, rc = EXIT_FAILURE; const char *fmt = "plain"; lldpctl_conn_t *conn = NULL; - const char *options = is_lldpctl(argv[0])?"hdvf:":"hdsvf:c:u:"; + const char *options = is_lldpctl(argv[0])?"hdvf:u:":"hdsvf:c:u:"; int gotinputs = 0; struct inputs inputs; -- 2.39.5