diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-19 14:24:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-19 14:26:23 +0200 |
commit | 18e019e896719231b1b19e8da4f2008a139c2ca6 (patch) | |
tree | c72c8dd098a1b2a024cf34c39817e532df7bd0b5 | |
parent | 76e8cbd8abfef84868fa5cd684dc800ed99c7dce (diff) |
vty: Remove trailing whitespace in output from show asciidoc
Change-Id: Ifb3115c7488fbcf082cc9b92abc25cf7c46064e0
-rw-r--r-- | src/vty/stats_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |