From 9ee176ee978e6668c4faf00028811ce70979122e Mon Sep 17 00:00:00 2001 From: Collin Fair Date: Sat, 14 Feb 2015 09:59:44 -0500 Subject: [PATCH] Stop hb-shape docs leaking into hb-view --- util/options.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/util/options.cc b/util/options.cc index fb74b1af1..5d03caa69 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 (supported_formats)); - text = g_strdup_printf ("Set output serialization format\n\n Supported output formats are: %s\n%s", items, - " text: [=@,+,|...]\n" - " json: [{\"g\": , \"ax\": , \"ay\": , \"dx\": , \"dy\": , \"cl\": }, ...]"); + 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: [=@,+,|...]\n" + " json: [{\"g\": , \"ax\": , \"ay\": , \"dx\": , \"dy\": , \"cl\": }, ...]\n" + "\nOutput syntax options:", + "Options controlling the syntax of the output", this); }