EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ positional()

void Euclid::Fits::ProgramOptions::positional ( const char *  name,
const ValueSemantics value,
const char *  description 
)

Add a positional option.

Parameters
nameThe option name
valueThe option value semantics
descriptionThe option description

A positional option is also a named option (thus the name parameter). For example, a positional option input can be used either as:

Program <value> 

or

Program --input <value> 

Positional options should be added in the expected order of the command line.