]> git.proxmox.com Git - mirror_frr.git/commit
lib: guard strict cli completions
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 19 Jan 2017 17:07:39 +0000 (17:07 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 19 Jan 2017 17:15:45 +0000 (17:15 +0000)
commit5320569435c057a4e209700bdad71256432536fc
tree85e1f63a586345c048f71646fdb83bcce28558a9
parent45680e7568eb69d5f991b5c0c174e479878727ee
lib: guard strict cli completions

Completions are checked for token and docstring equality before
deduplicating. Put an ifdef guard around checking docstrings because
many of them are inconsistent and may confuse users in a release build.

It is a good idea to enable VTYSH_DEBUG when adding new CLI in the
future to help check docstrings.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c