[hb-info] Add a few short option forms

pull/4048/head
Behdad Esfahbod 2 years ago
parent e5a07c883c
commit 1eca2c88a2
  1. 6
      util/hb-info.cc

@ -38,14 +38,14 @@ struct info_t
{
GOptionEntry entries[] =
{
{"all", 0, 0, G_OPTION_ARG_NONE, &this->all, "Show everything", nullptr},
{"all", 'a', 0, G_OPTION_ARG_NONE, &this->all, "Show everything", nullptr},
{"show-all", 0, 0, G_OPTION_ARG_NONE, &this->show_all, "Show all short information", nullptr},
{"show-all", 's', 0, G_OPTION_ARG_NONE, &this->show_all, "Show all short information", nullptr},
{"show-upem", 0, 0, G_OPTION_ARG_NONE, &this->show_upem, "Show Units-Per-EM", nullptr},
{"show-unicode-count",0, 0, G_OPTION_ARG_NONE, &this->show_unicode_count, "Show Unicode count", nullptr},
{"show-glyph-count",0, 0, G_OPTION_ARG_NONE, &this->show_glyph_count, "Show glyph count", nullptr},
{"list-all", 0, 0, G_OPTION_ARG_NONE, &this->list_all, "List all long information", nullptr},
{"list-all", 'l', 0, G_OPTION_ARG_NONE, &this->list_all, "List all long information", nullptr},
{"list-tables", 0, 0, G_OPTION_ARG_NONE, &this->list_tables, "List tables", nullptr},
{"list-unicodes", 0, 0, G_OPTION_ARG_NONE, &this->list_unicodes, "List characters", nullptr},
{"list-glyphs", 0, 0, G_OPTION_ARG_NONE, &this->list_glyphs, "List glyphs", nullptr},

Loading…
Cancel
Save