summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-18 12:06:57 +0100
committerQuentin Young <qlyoung@users.noreply.github.com>2017-05-15 10:27:43 -0400
commit16705ecc653dd657c5b8149934d8734e89c27c07 (patch)
tree382236b56dcc7542e95d302d031c686ae6618eb7 /lib/log.h
parent6a72763d738c7c4132fbc4af03a688a7cc0e49e3 (diff)
lib: parser: add named variables in CLI
struct cmd_token now has a "varname" field which is derived from the DEFUN's string definition. It can be manually specified with "$name" after some token, e.g. "foo WORD$var". A later commit adds code to automatically fill the value if nothing is specified. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.h')
0 files changed, 0 insertions, 0 deletions