cag_option_print

(since v1.0.0)
description: Prints all options to the terminal.

Description

void cag_option_print(const cag_option *options, size_t option_count,
  FILE *destination);

This function prints all options to the terminal. This can be used to generate the output for a “–help” option.

Parameters

Changelog

Version Description
v1.0.3 Added shared library exports.
v1.0.2 Fixed option indention for long descriptions.
v1.0.1 Added support for C++ projects.
v1.0.0 The function is introduced.