[MERGED] libosmocore[master]: vty: Fix documentation of 'show asciidoc counters' VTY command

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
Wed Jun 15 09:39:20 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: vty: Fix documentation of 'show asciidoc counters' VTY command
......................................................................


vty: Fix documentation of 'show asciidoc counters' VTY command

VTY documentations strings follow a certain structure, and we need to
follow that to make the interactive help work.

Change-Id: I0bb0bda68dbbf9995338ec555ff99d73a223162c
Reviewed-on: https://gerrit.osmocom.org/276
Reviewed-by: Harald Welte <laforge at gnumonks.org>
Tested-by: Harald Welte <laforge at gnumonks.org>
---
M src/vty/stats_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c
index be5a6aa..59befd2 100644
--- a/src/vty/stats_vty.c
+++ b/src/vty/stats_vty.c
@@ -482,7 +482,7 @@
 DEFUN(show_stats_asciidoc_table,
       show_stats_asciidoc_table_cmd,
       "show asciidoc counters",
-      "Generate an ascii doc table of all registered counters.\n")
+      SHOW_STR "Asciidoc generation\n" "Generate table of all registered counters\n")
 {
 	vty_out(vty, "// generating tables for rate_ctr_group%s", VTY_NEWLINE);
 	rate_ctr_for_each_group(asciidoc_rate_ctr_group_handler, vty);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0bb0bda68dbbf9995338ec555ff99d73a223162c
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list