Harald Welte has submitted this change and it was merged.

Change subject: talloc_ctx_vty: Fix help strings (missing \n at end of line)
......................................................................


talloc_ctx_vty: Fix help strings (missing \n at end of line)

This was causing build failures in applications using this library
feature:

Documentation error (missing docs):
<command id='show talloc-context (application|all) (full|brief|DEPTH) tree 
ADDRESS'>
        <param name='ADDRESS' doc='(null)' />

Documentation error (missing docs):
<command id='show talloc-context (application|all) (full|brief|DEPTH) filter 
REGEXP'>
        <param name='REGEXP' doc='(null)' />

Documentation error (missing docs):
<command id='show talloc-context (application|all) (full|brief|DEPTH) tree 
ADDRESS'>
        <param name='ADDRESS' doc='(null)' />

Documentation error (missing docs):
<command id='show talloc-context (application|all) (full|brief|DEPTH) filter 
REGEXP'>
        <param name='REGEXP' doc='(null)' />

Change-Id: I785c852e3313d20eade79746a7cd485d2d5908ea
---
M src/vty/talloc_ctx_vty.c
1 file changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/src/vty/talloc_ctx_vty.c b/src/vty/talloc_ctx_vty.c
index 601b696..e7fe675 100644
--- a/src/vty/talloc_ctx_vty.c
+++ b/src/vty/talloc_ctx_vty.c
@@ -175,7 +175,7 @@
        "All contexts, if NULL-context tracking is enabled\n" \
        "Display a full talloc memory hierarchy\n" \
        "Display a brief talloc memory hierarchy\n" \
-       "Specify required maximal depth value"
+       "Specify required maximal depth value\n"
 
 DEFUN(show_talloc_ctx, show_talloc_ctx_cmd,
        BASE_CMD_STR, BASE_CMD_DESCR)
@@ -202,7 +202,7 @@
 DEFUN(show_talloc_ctx_filter, show_talloc_ctx_filter_cmd,
        BASE_CMD_STR " filter REGEXP", BASE_CMD_DESCR
        "Filter chunks using regular expression\n"
-       "Regular expression")
+       "Regular expression\n")
 {
        struct walk_cb_params *params;
        int rc;
@@ -236,7 +236,7 @@
 DEFUN(show_talloc_ctx_tree, show_talloc_ctx_tree_cmd,
        BASE_CMD_STR " tree ADDRESS", BASE_CMD_DESCR
        "Display only a specific memory chunk\n"
-       "Chunk address (e.g. 0xdeadbeef)")
+       "Chunk address (e.g. 0xdeadbeef)\n")
 {
        struct walk_cb_params *params;
        int rc;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I785c852e3313d20eade79746a7cd485d2d5908ea
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to