MCPcopy Create free account
hub / github.com/apache/impala / ParseCommandLineFlags

Function ParseCommandLineFlags

be/src/kudu/util/flags.cc:495–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495int ParseCommandLineFlags(int* argc, char*** argv, bool remove_flags) {
496 // The logbufsecs default is 30 seconds which is a bit too long.
497 google::SetCommandLineOptionWithMode("logbufsecs", "5",
498 google::FlagSettingMode::SET_FLAGS_DEFAULT);
499
500 int ret = google::ParseCommandLineNonHelpFlags(argc, argv, remove_flags);
501 HandleCommonFlags();
502 ValidateFlags();
503 return ret;
504}
505
506void HandleCommonFlags() {
507 if (FLAGS_helpxml) {

Callers 9

TEST_FFunction · 0.85
RunTestMethod · 0.85
RunMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
InitCommonRuntimeMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

HandleCommonFlagsFunction · 0.85
ValidateFlagsFunction · 0.70

Tested by 4

TEST_FFunction · 0.68
RunTestMethod · 0.68
RunMethod · 0.68
mainFunction · 0.68