[MERGED] libosmocore[master]: vty: set name for VIEW+ENABLE nodes, for VTY reference

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Dec 10 13:34:37 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: vty: set name for VIEW+ENABLE nodes, for VTY reference
......................................................................


vty: set name for VIEW+ENABLE nodes, for VTY reference

This leaves no unnamed chapters in future VTY reference documents.

Change-Id: Iefb8b78094208a1a4c5d70bd6c69a3deca8da54f
---
M src/vty/command.c
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/vty/command.c b/src/vty/command.c
index 55284ee..71f6a71 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -68,21 +68,25 @@
 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 = {

-- 
To view, visit https://gerrit.osmocom.org/5249
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iefb8b78094208a1a4c5d70bd6c69a3deca8da54f
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list