[PATCH] 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:37:25 UTC 2016


Review at  https://gerrit.osmocom.org/276

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
---
M src/vty/stats_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/76/276/1

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: newchange
Gerrit-Change-Id: I0bb0bda68dbbf9995338ec555ff99d73a223162c
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list