]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: rework DEFPY processing in extract.pl 6777/head
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 20 Jul 2020 15:15:49 +0000 (18:15 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 20 Jul 2020 15:18:55 +0000 (18:18 +0300)
commitdc47ff5c3a8b593ab9d5e9e3aa68f62a7092561d
tree6d29e50c415ab2fc8d242436a7120fb8f789c5aa
parent67ce4ba19b00eaa542d12c17c5da0652238a8049
vtysh: rework DEFPY processing in extract.pl

Currently, all DEFPY commands are translated into one-liners in
vtysh_cmd.c. After the patch, DEFPY commands are correctly indented just
like DEFUN/ALIAS commands.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/command.h
vtysh/extract.pl.in