Namespaces | Functions
usage.cc File Reference
#include "absl/flags/internal/usage.h"
#include <map>
#include <string>
#include "absl/flags/flag.h"
#include "absl/flags/internal/path_util.h"
#include "absl/flags/internal/program_name.h"
#include "absl/flags/usage_config.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h"
#include "absl/synchronization/mutex.h"
Include dependency graph for usage.cc:

Go to the source code of this file.

Namespaces

namespace  absl
namespace  absl::flags_internal

Functions

 ABSL_FLAG (bool, help, false,"show help on important flags for this binary [tip: all flags can ""have two dashes]")
 ABSL_FLAG (bool, helpfull, false,"show help on all flags")
 ABSL_FLAG (bool, helpshort, false,"show help on only the main module for this program")
 ABSL_FLAG (bool, helppackage, false,"show help on all modules in the main package")
 ABSL_FLAG (bool, version, false,"show version and build info and exit")
 ABSL_FLAG (bool, only_check_args, false,"exit after checking all flags")
 ABSL_FLAG (std::string, helpon,"","show help on the modules named by this flag value")
 ABSL_FLAG (std::string, helpmatch,"","show help on modules whose name contains the specified substr")
void absl::flags_internal::FlagHelp (std::ostream &out, const flags_internal::CommandLineFlag &flag, HelpFormat format)
void absl::flags_internal::FlagsHelp (std::ostream &out, absl::string_view filter, HelpFormat format)
int absl::flags_internal::HandleUsageFlags (std::ostream &out)
absl::string_view absl::flags_internal::ProgramUsageMessage ()
void absl::flags_internal::SetProgramUsageMessage (absl::string_view new_usage_message)

Function Documentation

ABSL_FLAG ( bool  ,
help  ,
false  ,
"show help on important flags for this binary "  [tip:all flags can""have two dashes] 
)
ABSL_FLAG ( bool  ,
helpfull  ,
false  ,
"show help on all flags"   
)
ABSL_FLAG ( bool  ,
helpshort  ,
false  ,
"show help on only the main module for this program"   
)
ABSL_FLAG ( bool  ,
helppackage  ,
false  ,
"show help on all modules in the main package"   
)
ABSL_FLAG ( bool  ,
version  ,
false  ,
"show version and build info and exit"   
)
ABSL_FLAG ( bool  ,
only_check_args  ,
false  ,
"exit after checking all flags"   
)
ABSL_FLAG ( std::string  ,
helpon  ,
""  ,
"show help on the modules named by this flag value  
)
ABSL_FLAG ( std::string  ,
helpmatch  ,
""  ,
"show help on modules whose name contains the specified substr"   
)

Variable Documentation

Definition at line 159 of file usage.cc.

int line_len_

Definition at line 158 of file usage.cc.

const int max_line_len_

Definition at line 157 of file usage.cc.

std::ostream& out_

Definition at line 156 of file usage.cc.

Definition at line 90 of file usage.cc.

Definition at line 91 of file usage.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16