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

Classes

class  build_file
 

Variables

constexpr char const *const g_configuration_files []
 The tool looks for this configuration file.
 
advgetopt::option const g_options []
 Command line options.
 
advgetopt::options_environment const g_options_environment
 

Variable Documentation

◆ g_configuration_files

constexpr char const* const anonymous_namespace{build_file_of_options.cpp}::g_configuration_files[]
constexpr
Initial value:
{
"/etc/advgetopt/build-file-of-options.conf",
nullptr
}

The build-file-of-options allow you to have a configuration file with various options in it.

Definition at line 106 of file build_file_of_options.cpp.

◆ g_options

advgetopt::option const anonymous_namespace{build_file_of_options.cpp}::g_options[]
Initial value:
=
{
advgetopt::Name("output")
, advgetopt::Help("Specify the path and filename of the output file.")
),
, advgetopt::Help("<configuration filename> ...")
),
}
constexpr option define_option(ARGS ...args)
Definition options.h:259
constexpr flag_t command_flags()
Definition flags.h:191
constexpr option end_options()
Definition options.h:294
static constexpr flag_t GETOPT_FLAG_DEFAULT_OPTION
Definition flags.h:54
static constexpr flag_t GETOPT_FLAG_MULTIPLE
Definition flags.h:53
static constexpr flag_t GETOPT_FLAG_REQUIRED
Definition flags.h:52

This table includes all the command line options supported by the build-file-of-options tool.

Definition at line 81 of file build_file_of_options.cpp.

◆ g_options_environment

advgetopt::options_environment const anonymous_namespace{build_file_of_options.cpp}::g_options_environment
Initial value:
=
{
.f_project_name = "build-file-of-options",
.f_group_name = nullptr,
.f_options = g_options,
.f_options_files_directory = nullptr,
.f_environment_variable_name = "BUILD_FILE_OF_OPTIONS_OPTIONS",
.f_environment_variable_intro = nullptr,
.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>] <configuration file>\n"
"where -<opt> is one or more of:",
.f_help_footer = "%c",
.f_license = nullptr,
.f_copyright = "Copyright (c) 2019-" BOOST_PP_STRINGIZE(UTC_BUILD_YEAR) " 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[]
The tool looks for this configuration file.
advgetopt::option const g_options[]
Command line options.
char const * f_environment_variable_name
Definition options.h:74
#define LIBADVGETOPT_VERSION_STRING
Definition version.h:32

Definition at line 117 of file build_file_of_options.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.