advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
Classes | Variables
anonymous_namespace{atomic_names.cpp} Namespace Reference

Classes

class  atomic_names
 

Variables

constexpr char const *const g_configuration_files []
 
advgetopt::group_description const g_group_descriptions []
 
const advgetopt::option g_options []
 
advgetopt::options_environment const g_options_environment
 

Variable Documentation

◆ g_configuration_files

constexpr char const* const anonymous_namespace{atomic_names.cpp}::g_configuration_files[]
constexpr
Initial value:
=
{
"/etc/cppthread/atomic-names.conf",
nullptr
}

Definition at line 139 of file atomic_names.cpp.

◆ g_group_descriptions

advgetopt::group_description const anonymous_namespace{atomic_names.cpp}::g_group_descriptions[]
Initial value:

Definition at line 124 of file atomic_names.cpp.

◆ g_options

const advgetopt::option anonymous_namespace{atomic_names.cpp}::g_options[]
Initial value:
=
{
advgetopt::Name("output-path")
, advgetopt::Help("path to where the output files get saved.")
),
advgetopt::Name("verbose")
, advgetopt::Help("make the tool verbose.")
),
, advgetopt::Help("filename with atomic name definitions; the same name is used to generate the output, only the extension gets changed.")
),
}
constexpr option define_option(ARGS ...args)
Definition options.h:259
constexpr flag_t standalone_command_flags()
Definition flags.h:179
constexpr option end_options()
Definition options.h:294
constexpr flag_t all_flags()
Definition flags.h:154
static constexpr flag_t GETOPT_FLAG_REQUIRED
Definition flags.h:52

Definition at line 95 of file atomic_names.cpp.

◆ g_options_environment

advgetopt::options_environment const anonymous_namespace{atomic_names.cpp}::g_options_environment
Initial value:
=
{
.f_project_name = "atomic-names",
.f_group_name = "atomic-names",
.f_options = g_options,
.f_options_files_directory = nullptr,
.f_environment_variable_name = "ATOMIC_NAMES",
.f_environment_variable_intro = "ATOMIC_NAMES_",
.f_section_variables_name = nullptr,
.f_configuration_files = g_configuration_files,
.f_configuration_filename = nullptr,
.f_configuration_directories = nullptr,
.f_help_header = "Usage: %p [-<opt>]\n"
"where -<opt> is one or more of:",
.f_help_footer = "Try `man atomic-names` for more info.\n%c",
.f_version = CPPTHREAD_VERSION_STRING,
.f_license = "GPL v2 or newer",
.f_copyright = "Copyright (c) 2022-"
" Made to Order Software Corporation",
.f_build_date = UTC_BUILD_DATE,
.f_build_time = UTC_BUILD_TIME,
}
constexpr flag_t GETOPT_ENVIRONMENT_FLAG_PROCESS_SYSTEM_PARAMETERS
Definition options.h:435
constexpr char const *const g_configuration_files[]
const advgetopt::option g_options[]
advgetopt::group_description const g_group_descriptions[]
char const * f_environment_variable_name
Definition options.h:74

Definition at line 151 of file atomic_names.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.