diff options
| author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-09 03:54:32 +0100 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2017-12-10 13:34:35 +0000 | 
| commit | 3b6815715f119e7c12c710deda6bc57738d46e37 (patch) | |
| tree | b52e0687c0dd37a7c17de4f28b2b06c743d12a1b | |
| parent | 453e37e3c8322cd200a6f803579c55753e866c7f (diff) | |
vty: set name for VIEW+ENABLE nodes, for VTY reference
This leaves no unnamed chapters in future VTY reference documents.
Change-Id: Iefb8b78094208a1a4c5d70bd6c69a3deca8da54f
| -rw-r--r-- | src/vty/command.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/vty/command.c b/src/vty/command.c index 55284eed..71f6a71e 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -68,21 +68,25 @@ struct host host;  struct cmd_node auth_node = {  	AUTH_NODE,  	"Password: ", +	.name = "auth",  };  struct cmd_node view_node = {  	VIEW_NODE,  	"%s> ", +	.name = "view",  };  struct cmd_node auth_enable_node = {  	AUTH_ENABLE_NODE,  	"Password: ", +	.name = "auth-enable",  };  struct cmd_node enable_node = {  	ENABLE_NODE,  	"%s# ", +	.name = "enable",  };  struct cmd_node config_node = { | 
