Skip to content

utils: Add --help, --version and GNU argument parsing to all tools

Simon McVittie requested to merge smcv/libcapsule:version into master

They now all take named options (including the -- pseudo-option) for future expansion, and fail with an error if given too many positional parameters.

When libcapsule tools are bundled with a larger project, this should make it easier to check which ones they are.

Merge request reports