libclap 1.0.0
Command Line Argument Parser for C
Loading...
Searching...
No Matches
Enumerations
clap_action.h File Reference

Action types and handlers for libclap. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  clap_action_t {
  CLAP_ACTION_STORE , CLAP_ACTION_STORE_CONST , CLAP_ACTION_STORE_TRUE , CLAP_ACTION_STORE_FALSE ,
  CLAP_ACTION_APPEND , CLAP_ACTION_APPEND_CONST , CLAP_ACTION_COUNT , CLAP_ACTION_HELP ,
  CLAP_ACTION_VERSION , CLAP_ACTION_CUSTOM
}
 Action types for argument processing. More...
 

Detailed Description

Action types and handlers for libclap.

Enumeration Type Documentation

◆ clap_action_t

Action types for argument processing.

Enumerator
CLAP_ACTION_STORE 

Store the value (default)

CLAP_ACTION_STORE_CONST 

Store a constant value

CLAP_ACTION_STORE_TRUE 

Store true (boolean flag)

CLAP_ACTION_STORE_FALSE 

Store false (boolean flag)

CLAP_ACTION_APPEND 

Append to a list

CLAP_ACTION_APPEND_CONST 

Append constant to a list

CLAP_ACTION_COUNT 

Count occurrences

CLAP_ACTION_HELP 

Display help and exit

CLAP_ACTION_VERSION 

Display version and exit

CLAP_ACTION_CUSTOM 

User-defined action