mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Replace manual command-line parsing with glib's GOptionContext/GOptionEntry system to match other HarfBuzz test tools. Changes: - Add glib_dep to meson.build for hb-depend-closure-parity - Use G_OPTION_ARG_INT64 for hex test seeds (requires 0x prefix) - Implement parse_inject_rate callback for optional float args with defaults - Update help text to require 0x prefix for hex values - Call print_usage() on argument validation errors - All test seed output verified to use 0x prefix Benefits: - Automatic --help generation by glib - Consistent with other HarfBuzz utilities - Simpler error handling and validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>