| 578 | } |
| 579 | |
| 580 | bool 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 | |
| 594 | void generic_server_usage() |
| 595 | { |