p-ranav / argparse

Argument Parser for Modern C++
MIT License
2.59k stars 244 forks source link

FEATURE: multiple actions #356

Open elpaso opened 4 months ago

elpaso commented 4 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 4 months ago

CC @rouault