summaryrefslogtreecommitdiff
path: root/examples/loadables/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/loadables/hello.c')
-rw-r--r--examples/loadables/hello.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/loadables/hello.c b/examples/loadables/hello.c
index 1d68c6f..bff6e76 100644
--- a/examples/loadables/hello.c
+++ b/examples/loadables/hello.c
@@ -41,8 +41,11 @@ hello_builtin (list)
}
/* An array of strings forming the `long' documentation for a builtin xxx,
- which is printed by `help xxx'. It must end with a NULL. */
+ which is printed by `help xxx'. It must end with a NULL. By convention,
+ the first line is a short description. */
char *hello_doc[] = {
+ "Sample builtin.",
+ "",
"this is the long doc for the sample hello builtin",
(char *)NULL
};