aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-06-15 11:35:16 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-15 09:39:20 +0000
commitf624c33ef2e394949c10453b327e248aa27680e2 (patch)
tree522062b82393ea9e5f6f3415771ea77884439b76
parent22886d9e320ecf734d2827d825a191b977f70d2c (diff)
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@gnumonks.org> Tested-by: Harald Welte <laforge@gnumonks.org>
-rw-r--r--src/vty/stats_vty.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static int asciidoc_osmo_stat_item_group_handler(struct osmo_stat_item_group *st
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);