summaryrefslogtreecommitdiff
path: root/src/op-mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-15 02:51:00 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-15 02:51:00 +0200
commitddca0778f36266ce2416a064833410afeeb202d0 (patch)
tree819864269ec9a6af8f7ea8018cdaa726dec90fd5 /src/op-mode
parenta3fdcdcfdb471a51cd1ee2b8cc65621e86ae2628 (diff)
downloadvyos-1x-ddca0778f36266ce2416a064833410afeeb202d0.tar.gz
vyos-1x-ddca0778f36266ce2416a064833410afeeb202d0.zip
Correct the logic of generating tag nodes for op mode.
Unlike conf mode tag nodes, op mode "pseudo-tag nodes" have the real node.def inside the node.tag dir rather than at the top level. The required node.def at the top level is populated with the help string from the real one. A side effect is that commands that take arguments now must have their own words, e.g. "run show arp" and "run show arp eth0" is impossible and has to be "run show arp" and "run show arp interface eth0", which is probably a good thing.
Diffstat (limited to 'src/op-mode')
0 files changed, 0 insertions, 0 deletions