From 18e019e896719231b1b19e8da4f2008a139c2ca6 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 19 Jun 2019 14:24:27 +0200 Subject: vty: Remove trailing whitespace in output from show asciidoc Change-Id: Ifb3115c7488fbcf082cc9b92abc25cf7c46064e0 --- src/vty/stats_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c index c9110879..8c2ddc62 100644 --- a/src/vty/stats_vty.c +++ b/src/vty/stats_vty.c @@ -442,7 +442,7 @@ static int asciidoc_rate_ctr_group_handler(struct rate_ctr_group *ctrg, void *sc char *group_name_prefix = osmo_asciidoc_escape(ctrg->desc->group_name_prefix); vty_out(vty, "// rate_ctr_group table %s%s", group_description, VTY_NEWLINE); - vty_out(vty, ".%s - %s %s", group_name_prefix, group_description, VTY_NEWLINE); + vty_out(vty, ".%s - %s%s", group_name_prefix, group_description, VTY_NEWLINE); vty_out(vty, "[options=\"header\"]%s", VTY_NEWLINE); vty_out(vty, "|===%s", VTY_NEWLINE); vty_out(vty, "| Name | Reference | Description%s", VTY_NEWLINE); @@ -491,7 +491,7 @@ static int asciidoc_osmo_stat_item_group_handler(struct osmo_stat_item_group *st vty_out(vty, "%s%s", group_description ? group_description : "" , VTY_NEWLINE); vty_out(vty, "// osmo_stat_item_group table %s%s", group_description ? group_description : "", VTY_NEWLINE); - vty_out(vty, ".%s - %s %s", group_name_prefix, group_description ? group_description : "", VTY_NEWLINE); + vty_out(vty, ".%s - %s%s", group_name_prefix, group_description ? group_description : "", VTY_NEWLINE); vty_out(vty, "[options=\"header\"]%s", VTY_NEWLINE); vty_out(vty, "|===%s", VTY_NEWLINE); vty_out(vty, "| Name | Reference | Description | Unit%s", VTY_NEWLINE); -- cgit v1.2.3