From 984bbcbc11265193a316dbfbe56a2fe24198f0e4 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 9 Apr 2014 09:56:38 +0200 Subject: [PATCH] lldpd: add a note about command-line options lldpcli should be preferred for new options. --- src/daemon/lldpd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 2fe8383d..4276f4ee 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1273,6 +1273,9 @@ lldpd_main(int argc, char *argv[], char *envp[]) char *mgmtp = NULL; char *cidp = NULL; char *interfaces = NULL; + /* We do not want more options here. Please add them in lldpcli instead + * unless there is a very good reason. Most command-line options will + * get deprecated at some point. */ char *popt, opts[] = "H:vhkrdD:xX:m:u:4:6:I:C:p:M:P:S:iL:@ "; int i, found, advertise_version = 1; -- 2.39.5