MCPcopy Create free account
hub / github.com/ceph/ceph / ceph_argparse_need_usage

Function ceph_argparse_need_usage

src/common/ceph_argparse.cc:580–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580bool ceph_argparse_need_usage(const std::vector<const char*>& args)
581{
582 if (args.empty()) {
583 return true;
584 }
585 for (auto a : args) {
586 if (strcmp(a, "-h") == 0 ||
587 strcmp(a, "--help") == 0) {
588 return true;
589 }
590 }
591 return false;
592}
593
594void generic_server_usage()
595{

Callers 15

ceph_fuse.ccFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by 4

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68