Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git] / examples / loadables / hello.c
index 1d68c6f..bff6e76 100644 (file)
@@ -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
 };