Skip to content

Commit

Permalink
lldpd: add a note about command-line options
Browse files Browse the repository at this point in the history
lldpcli should be preferred for new options.
  • Loading branch information
vincentbernat committed Apr 9, 2014
1 parent f88a0f1 commit 984bbcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/daemon/lldpd.c
Expand Up @@ -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;
Expand Down

0 comments on commit 984bbcb

Please sign in to comment.