Stop hb-shape docs leaking into hb-view

This commit is contained in:
Collin Fair 2015-02-14 09:59:44 -05:00
parent 952b8dbdf6
commit 9ee176ee97
1 changed files with 8 additions and 7 deletions

View File

@ -444,9 +444,7 @@ output_options_t::add_options (option_parser_t *parser)
else else
{ {
char *items = g_strjoinv ("/", const_cast<char **> (supported_formats)); char *items = g_strjoinv ("/", const_cast<char **> (supported_formats));
text = g_strdup_printf ("Set output serialization format\n\n Supported output formats are: %s\n%s", items, text = g_strdup_printf ("Set output format\n\n Supported output formats are: %s", items);
" text: [<glyph name or index>=<glyph cluster index within input>@<horizontal displacement>,<vertical displacement>+<horizontal advance>,<vertical advance>|...]\n"
" json: [{\"g\": <glyph name or index>, \"ax\": <horizontal advance>, \"ay\": <vertical advance>, \"dx\": <horizontal displacement>, \"dy\": <vertical displacement>, \"cl\": <glyph cluster index within input>}, ...]");
g_free (items); g_free (items);
parser->free_later ((char *) text); parser->free_later ((char *) text);
} }
@ -459,7 +457,7 @@ output_options_t::add_options (option_parser_t *parser)
}; };
parser->add_group (entries, parser->add_group (entries,
"output", "output",
"Output detination & format options:", "Output destination & format options:",
"Options controlling the destination and form of the output", "Options controlling the destination and form of the output",
this); this);
} }
@ -706,9 +704,12 @@ format_options_t::add_options (option_parser_t *parser)
{NULL} {NULL}
}; };
parser->add_group (entries, parser->add_group (entries,
"output-content", "output-syntax",
"Output content options (refer to --help-output for output syntax):", "Output syntax:\n"
"Options controlling the content of the output", " text: [<glyph name or index>=<glyph cluster index within input>@<horizontal displacement>,<vertical displacement>+<horizontal advance>,<vertical advance>|...]\n"
" json: [{\"g\": <glyph name or index>, \"ax\": <horizontal advance>, \"ay\": <vertical advance>, \"dx\": <horizontal displacement>, \"dy\": <vertical displacement>, \"cl\": <glyph cluster index within input>}, ...]\n"
"\nOutput syntax options:",
"Options controlling the syntax of the output",
this); this);
} }