summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-14 01:29:19 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-14 00:53:22 +0000
commit408a90093bd389826fe4806a31b8bc1b2425efbf (patch)
treeb06bd783362f5ea382b9873f07ceb287e169b271 /src
parent13e7f05611095313f780da29de937849cbcb0703 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/vty/talloc_ctx_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vty/talloc_ctx_vty.c b/src/vty/talloc_ctx_vty.c
index 601b6965..e7fe6759 100644
--- a/src/vty/talloc_ctx_vty.c
+++ b/src/vty/talloc_ctx_vty.c
@@ -175,7 +175,7 @@ static void talloc_ctx_walk(const char *ctx, const char *depth,
"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, show_talloc_ctx_cmd,
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_filter, show_talloc_ctx_filter_cmd,
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;