p-ranav / argparse

Argument Parser for Modern C++
MIT License
2.72k stars 250 forks source link

FEATURE: multiple actions #356

Open elpaso opened 6 months ago

elpaso commented 6 months ago

Also fixes the incompatibility between store_into and scan and action: when the three methods above were called, being all based on the (unique) action, the last one would overwrite the previous ones.

This issue was making the parser strictly dependant on the order of the scan/store_into/action calls making them mutually exclusive.

elpaso commented 6 months ago

CC @rouault