From: Vincent Bernat Date: Wed, 9 Apr 2014 07:56:38 +0000 (+0200) Subject: lldpd: add a note about command-line options X-Git-Tag: 0.7.8~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=984bbcbc11265193a316dbfbe56a2fe24198f0e4;p=thirdparty%2Flldpd.git lldpd: add a note about command-line options lldpcli should be preferred for new options. --- 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;