flag.h icon indicating copy to clipboard operation
flag.h copied to clipboard

Add alias support

Open ej-shafran opened this issue 2 years ago • 2 comments

  • Add aliases and alias_count fields to the Flag struct
  • Respect the aliases when parsing flags
  • Print out aliases when printing out options
  • Update example to feature this

ej-shafran avatar Sep 16 '23 22:09 ej-shafran

@ej-shafran this is a cool idea. Please don't close this PR yet. I'll get back to it when I get a chance and fix the conflicts myself.

rexim avatar Jul 21 '25 02:07 rexim

@rexim inspired by the struct-as-named-params thingie you did in Nob in recent streams, I think something like that could be nice for this feature/this library in general

ej-shafran avatar Aug 20 '25 06:08 ej-shafran