summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-18 15:56:18 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-15 23:13:52 +0100
commit7d5718c140611ae125dfab56b94f6a96e19b5922 (patch)
tree76b5d634724313564e078600818bd66f132c66a7 /lib/command.c
parentfa133e00c2103ffcacbf3a20d0c1a7a1a86d63ab (diff)
lib: parser: support keyword arguments
This re-adds "{foo WORD|bar WORD}" keyword-argument support to the CLI parser. Note that token graphs may now contain loops for this purpose; therefore the matching functions retain a history of already-matched tokens. Each token can thus only be consumed once. And then LINE... gets its special treatment with allowrepeat. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions