• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

carapace-sh / carapace-pflag / 30110727067

24 Jul 2026 04:51PM UTC coverage: 55.361% (+0.1%) from 55.23%
30110727067

Pull #32

github

rsteube-bot
add custom flag prefix support to FlagSet for non-dash prefixes

Allows configuring a custom flag prefix character (e.g. '&' for elvish)
via FlagSet.SetPrefix(). The prefix controls token recognition, long/short
disambiguation, terminator detection, error messages, and usage output.
All structured errors carry a prefix rune field so they render correctly
with the configured prefix. Zero-value FlagSet defaults to '-'.

Assisted-by: Crush:glm-5.2
Pull Request #32: add custom flag prefix support to FlagSet for non-dash prefixes

57 of 71 new or added lines in 2 files covered. (80.28%)

2721 of 4915 relevant lines covered (55.36%)

0.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.81
/errors.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc