[hb-info] Add a few short option forms

This commit is contained in:
Behdad Esfahbod 2023-01-19 14:38:12 -07:00
parent e5a07c883c
commit 1eca2c88a2
1 changed files with 3 additions and 3 deletions

View File

@ -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},