EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ positional()

void 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.