[subset] Improve alignment of --help-all message

This commit is contained in:
Khaled Hosny 2021-09-08 15:12:52 +02:00
parent 9b7af950b3
commit 838d670752
1 changed files with 5 additions and 6 deletions

View File

@ -730,7 +730,7 @@ subset_main_t::add_options ()
{ {
{"gids", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids, {"gids", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids,
"Specify glyph IDs or ranges to include in the subset.\n" "Specify glyph IDs or ranges to include in the subset.\n"
" " " "
"Use --gids-=... to subtract codepoints from the current set.", "list of glyph indices/ranges or *"}, "Use --gids-=... to subtract codepoints from the current set.", "list of glyph indices/ranges or *"},
{"gids-", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids, "Specify glyph IDs or ranges to remove from the subset", "list of glyph indices/ranges or *"}, {"gids-", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids, "Specify glyph IDs or ranges to remove from the subset", "list of glyph indices/ranges or *"},
{"gids+", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids, "Specify glyph IDs or ranges to include in the subset", "list of glyph indices/ranges or *"}, {"gids+", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_gids, "Specify glyph IDs or ranges to include in the subset", "list of glyph indices/ranges or *"},
@ -750,12 +750,11 @@ subset_main_t::add_options ()
{"text-file", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_file_for<parse_text, false>,"Specify file to read text from", "filename"}, {"text-file", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_file_for<parse_text, false>,"Specify file to read text from", "filename"},
{"unicodes", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, {"unicodes", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes,
"Specify Unicode codepoints or ranges to include in the subset. Use * to include all codepoints.\n" "Specify Unicode codepoints or ranges to include in the subset. Use * to include all codepoints.\n"
" " " "
"--unicodes-=... can be used to subtract codepoints " "--unicodes-=... can be used to subtract codepoints from the current set.\n"
"from the current set.\n" " "
" "
"For example: --unicodes=* --unicodes-=41,42,43 would create a subset with all codepoints\n" "For example: --unicodes=* --unicodes-=41,42,43 would create a subset with all codepoints\n"
" " " "
"except for 41, 42, 43.", "except for 41, 42, 43.",
"list of hex numbers/ranges or *"}, "list of hex numbers/ranges or *"},
{"unicodes-", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, "Specify Unicode codepoints or ranges to remove from the subset", "list of hex numbers/ranges or *"}, {"unicodes-", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, "Specify Unicode codepoints or ranges to remove from the subset", "list of hex numbers/ranges or *"},