Sharg 1.2.3-rc.1
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
sharg::detail::format_help_base< derived_type >::synopsis_element Struct Reference

Structure to store synopsis element information. More...

#include <sharg/detail/format_base.hpp>

Public Types

enum class  option_type : uint8_t { flag , option , positional }
 Kinds of options. More...
 

Public Attributes

std::string option_str
 The formatted option string.
 
option_type type
 Type of the option.
 

Detailed Description

template<typename derived_type>
struct sharg::detail::format_help_base< derived_type >::synopsis_element

Structure to store synopsis element information.

Member Enumeration Documentation

◆ option_type

template<typename derived_type >
enum class sharg::detail::format_help_base::synopsis_element::option_type : uint8_t
strong

Kinds of options.

Enumerator
flag 

Option is a flag.

option 

Option is a option with argument.

positional 

Option is a positional option.


The documentation for this struct was generated from the following file:
Hide me