diff options
author | Collin Fair <cpf@cpfx.ca> | 2015-02-14 09:59:44 -0500 |
---|---|---|
committer | Collin Fair <cpf@cpfx.ca> | 2015-02-14 09:59:44 -0500 |
commit | 9ee176ee978e6668c4faf00028811ce70979122e (patch) | |
tree | cdbb8e703a977c4f7c1a31907477bd713df561ea /util | |
parent | 952b8dbdf61da9b4814e09ad3c1b9b76483bef5c (diff) |
Stop hb-shape docs leaking into hb-view
Diffstat (limited to 'util')
-rw-r--r-- | util/options.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/util/options.cc b/util/options.cc index fb74b1af..5d03caa6 100644 --- a/util/options.cc +++ b/util/options.cc @@ -444,9 +444,7 @@ output_options_t::add_options (option_parser_t *parser) else { 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: [<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>}, ...]"); + text = g_strdup_printf ("Set output format\n\n Supported output formats are: %s", items); g_free (items); parser->free_later ((char *) text); } @@ -459,7 +457,7 @@ output_options_t::add_options (option_parser_t *parser) }; parser->add_group (entries, "output", - "Output detination & format options:", + "Output destination & format options:", "Options controlling the destination and form of the output", this); } @@ -706,9 +704,12 @@ format_options_t::add_options (option_parser_t *parser) {NULL} }; parser->add_group (entries, - "output-content", - "Output content options (refer to --help-output for output syntax):", - "Options controlling the content of the output", + "output-syntax", + "Output syntax:\n" + " 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); } |