FST  openfst-1.8.2
OpenFst Library
flags.cc File Reference
#include <fst/flags.h>
#include <cstdint>
#include <cstring>
#include <iostream>
#include <ostream>
#include <set>
#include <string>
#include <string_view>
#include <utility>
#include <fst/log.h>
Include dependency graph for flags.cc:

Go to the source code of this file.


 DEFINE_int32 (v, 0,"verbosity level")
 DEFINE_bool (help, false,"show usage information")
 DEFINE_bool (helpshort, false,"show brief usage information")
 DEFINE_string (tmpdir, private_tmpdir?private_tmpdir:"/tmp","temporary directory")
void SetFlags (const char *usage, int *argc, char ***argv, bool remove_flags, const char *src)
void ShowUsage (bool long_usage)

Function Documentation

DEFINE_bool ( help  ,
false  ,
"show usage information"   
DEFINE_bool ( helpshort  ,
false  ,
"show brief usage information"   
DEFINE_int32 ( ,
"verbosity level"   
DEFINE_string ( tmpdir  ,
private_tmpdir?private_tmpdir:"/tmp"  ,
"temporary directory"   
void SetFlags ( const char *  usage,
int *  argc,
char ***  argv,
bool  remove_flags,
const char *  src 

Definition at line 56 of file flags.cc.

void ShowUsage ( bool  long_usage)

Definition at line 132 of file flags.cc.