diff --git a/util/font-options.hh b/util/font-options.hh index 108dbd824..4584bfea0 100644 --- a/util/font-options.hh +++ b/util/font-options.hh @@ -127,6 +127,7 @@ font_options_t::get_font () const g_string_append_c (s, '/'); g_string_append (s, supported_font_funcs[i].name); } + g_string_append_c (s, '\n'); char *p = g_string_free (s, FALSE); fail (false, "Unknown font function implementation `%s'; supported values are: %s; default is %s", font_funcs, @@ -289,7 +290,7 @@ font_options_t::add_options (option_parser_t *parser) " number. For example:\n" "\n" " \"wght=500\"\n" - " \"slnt=-7.5\"\n"; + " \"slnt=-7.5\""; GOptionEntry entries2[] = { diff --git a/util/text-options.hh b/util/text-options.hh index 2ed239a07..83077ae9f 100644 --- a/util/text-options.hh +++ b/util/text-options.hh @@ -176,8 +176,8 @@ text_options_t::add_options (option_parser_t *parser) GOptionEntry entries[] = { {"text", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_text, "Set input text", "string"}, - {"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name\n\n If no text is provided, standard input is used for input.\n", "filename"}, - {"unicodes", 'u', 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, "Set input Unicode codepoints", "list of hex numbers"}, + {"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name", "filename"}, + {"unicodes", 'u', 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, "Set input Unicode codepoints\n\n If no text is provided, standard input is used for input.\n", "list of hex numbers"}, {"text-before", 0, 0, G_OPTION_ARG_STRING, &this->text_before, "Set text context before each line", "string"}, {"text-after", 0, 0, G_OPTION_ARG_STRING, &this->text_after, "Set text context after each line", "string"}, {nullptr}