MCPcopy Create free account
hub / github.com/NetSys/bess / ProcessCommandLineArgs

Function ProcessCommandLineArgs

core/bessd.cc:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136namespace bessd {
137
138void ProcessCommandLineArgs() {
139 if (FLAGS_t) {
140 bess::debug::DumpTypes();
141 exit(EXIT_SUCCESS);
142 }
143
144 if (FLAGS_f) {
145 google::LogToStderr();
146 }
147}
148
149void CheckRunningAsRoot() {
150 if (!FLAGS_skip_root_check) {

Callers 2

mainFunction · 0.85
TESTFunction · 0.85

Calls 1

DumpTypesFunction · 0.85

Tested by 1

TESTFunction · 0.68