]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cli/cli-decode.h
Make first and last lines of 'command help documentation' consistent.
[thirdparty/binutils-gdb.git] / gdb / cli / cli-decode.h
index 16a6ce9f66b2620b199d222867f7b72ca05607ea..2ec4a97d8138d646590daf6d5056c97bcebdb1ae 100644 (file)
@@ -258,9 +258,14 @@ extern void apropos_cmd (struct ui_file *, struct cmd_list_element *,
 
 extern void not_just_help_class_command (const char *arg, int from_tty);
 
-/* Exported to cli/cli-setshow.c */
-
-extern void print_doc_line (struct ui_file *, const char *);
+/* Print only the first line of STR on STREAM.
+   FOR_VALUE_PREFIX true indicates that the first line is output
+   to be a prefix to show a value (see deprecated_show_value_hack):
+   the first character is printed in uppercase, and the trailing
+   dot character is not printed.  */
+
+extern void print_doc_line (struct ui_file *stream, const char *str,
+                           bool for_value_prefix);
 
 /* The enums of boolean commands.  */
 extern const char * const boolean_enums[];