diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-13 20:24:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-13 20:24:57 -0400 |
| commit | 067d5028c1b82cab172f2d951d7f8c7598ad0f1c (patch) | |
| tree | 6a5bc5d75c0ee48e1ff19598b4b0b8ce1de276f2 /lib/command.h | |
| parent | 3e93c4e3feec5c8302a000785e5e2a7ca7b110e3 (diff) | |
| parent | 91e5b43ab4d532cfbc38e71621c87fe98fb63130 (diff) | |
Merge pull request #2833 from opensourcerouting/assorted-fixes
Assorted fixes (pre-northbound)
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index a001a90e2e..da9b92ec6d 100644 --- a/lib/command.h +++ b/lib/command.h @@ -220,6 +220,9 @@ struct cmd_node { DEFUN_CMD_ELEMENT(funcname, cmdname, cmdstr, helpstr, 0, 0) \ funcdecl_##funcname +#define DEFPY_NOSH(funcname, cmdname, cmdstr, helpstr) \ + DEFPY(funcname, cmdname, cmdstr, helpstr) + #define DEFPY_ATTR(funcname, cmdname, cmdstr, helpstr, attr) \ DEFUN_CMD_ELEMENT(funcname, cmdname, cmdstr, helpstr, attr, 0) \ funcdecl_##funcname @@ -302,6 +305,9 @@ struct cmd_node { #define DEFPY(funcname, cmdname, cmdstr, helpstr) \ DEFUN(funcname, cmdname, cmdstr, helpstr) +#define DEFPY_NOSH(funcname, cmdname, cmdstr, helpstr) \ + DEFUN_NOSH(funcname, cmdname, cmdstr, helpstr) + #define DEFPY_ATTR(funcname, cmdname, cmdstr, helpstr, attr) \ DEFUN_ATTR(funcname, cmdname, cmdstr, helpstr, attr) #endif /* VTYSH_EXTRACT_PL */ |
