argc 631 attrd/legacy.c main(int argc, char **argv) argc 640 attrd/legacy.c crm_log_init(T_ATTRD, LOG_NOTICE, TRUE, FALSE, argc, argv, FALSE); argc 643 attrd/legacy.c while ((flag = getopt(argc, argv, OPTARGS)) != EOF) { argc 646 attrd/legacy.c crm_bump_log_level(argc, argv); argc 657 attrd/legacy.c if (optind > argc) { argc 326 attrd/main.c main(int argc, char **argv) argc 334 attrd/main.c crm_log_preinit(NULL, argc, argv); argc 341 attrd/main.c flag = crm_get_option(argc, argv, &index); argc 347 attrd/main.c crm_bump_log_level(argc, argv); argc 358 attrd/main.c if (optind > argc) { argc 366 attrd/main.c crm_log_init(T_ATTRD, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 68 cib/cibmon.c main(int argc, char **argv) argc 94 cib/cibmon.c flag = getopt_long(argc, argv, OPTARGS, long_options, &option_index); argc 96 cib/cibmon.c flag = getopt(argc, argv, OPTARGS); argc 103 cib/cibmon.c crm_bump_log_level(argc, argv); argc 124 cib/cibmon.c if (optind < argc) { argc 126 cib/cibmon.c while (optind < argc) argc 131 cib/cibmon.c if (optind > argc) { argc 131 cib/main.c main(int argc, char **argv) argc 139 cib/main.c crm_log_preinit(NULL, argc, argv); argc 151 cib/main.c flag = crm_get_option(argc, argv, &index); argc 157 cib/main.c crm_bump_log_level(argc, argv); argc 204 cib/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argc 209 cib/main.c if (optind > argc) { argc 217 cib/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 59 crmd/main.c main(int argc, char **argv) argc 66 crmd/main.c crm_log_preinit(NULL, argc, argv); argc 71 crmd/main.c flag = crm_get_option(argc, argv, &index); argc 77 crmd/main.c crm_bump_log_level(argc, argv); argc 88 crmd/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argc 91 crmd/main.c } else if (argc - optind == 1 && safe_str_eq("version", argv[optind])) { argc 96 crmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 99 crmd/main.c if (optind > argc) { argc 402 fencing/admin.c main(int argc, char **argv) argc 437 fencing/admin.c flag = crm_get_option_long(argc, argv, &option_index, &longname); argc 444 fencing/admin.c crm_bump_log_level(argc, argv); argc 492 fencing/admin.c crm_log_args(argc, argv); argc 551 fencing/admin.c if (optind > argc) { argc 1285 fencing/main.c main(int argc, char **argv) argc 1295 fencing/main.c crm_log_preinit("stonith-ng", argc, argv); argc 1301 fencing/main.c flag = crm_get_option(argc, argv, &option_index); argc 1308 fencing/main.c crm_bump_log_level(argc, argv); argc 1330 fencing/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argc 1450 fencing/main.c if (optind != argc) { argc 1458 fencing/main.c crm_log_init("stonith-ng", LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 600 fencing/test.c main(int argc, char **argv) argc 613 fencing/test.c flag = crm_get_option(argc, argv, &option_index); argc 641 fencing/test.c crm_log_init("stonith-test", LOG_INFO, TRUE, verbose ? TRUE : FALSE, argc, argv, FALSE); argc 643 fencing/test.c if (optind > argc) { argc 85 include/crm/common/logging.h void crm_log_preinit(const char *entity, int argc, char **argv); argc 87 include/crm/common/logging.h gboolean to_stderr, int argc, char **argv, gboolean quiet); argc 89 include/crm/common/logging.h void crm_log_args(int argc, char **argv); argc 96 include/crm/common/logging.h void crm_bump_log_level(int argc, char **argv); argc 96 include/crm_internal.h int crm_get_option(int argc, char **argv, int *index); argc 97 include/crm_internal.h int crm_get_option_long(int argc, char **argv, int *index, const char **longname); argc 678 lib/common/logging.c crm_identity(const char *entity, int argc, char **argv) argc 687 lib/common/logging.c } else if (argc > 0 && argv != NULL) { argc 708 lib/common/logging.c crm_log_preinit(const char *entity, int argc, char **argv) argc 737 lib/common/logging.c crm_identity(entity, argc, argv); argc 759 lib/common/logging.c int argc, char **argv, gboolean quiet) argc 767 lib/common/logging.c crm_log_preinit(entity, argc, argv); argc 841 lib/common/logging.c crm_log_args(argc, argv); argc 924 lib/common/logging.c crm_bump_log_level(int argc, char **argv) argc 929 lib/common/logging.c if (args && argc > 1) { argc 930 lib/common/logging.c crm_log_args(argc, argv); argc 949 lib/common/logging.c crm_log_args(int argc, char **argv) argc 959 lib/common/logging.c if (argc == 0 || argv == NULL || logged) { argc 965 lib/common/logging.c for (; lpc < argc; lpc++) { argc 1053 lib/common/utils.c crm_get_option(int argc, char **argv, int *index) argc 1055 lib/common/utils.c return crm_get_option_long(argc, argv, index, NULL); argc 1059 lib/common/utils.c crm_get_option_long(int argc, char **argv, int *index, const char **longname) argc 1070 lib/common/utils.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); argc 1097 lib/common/utils.c return getopt(argc, argv, crm_short_options); argc 437 lrmd/main.c static void spawn_pidone(int argc, char **argv, char **envp) argc 472 lrmd/main.c for(i = 0; i < argc; i++) { argc 530 lrmd/main.c main(int argc, char **argv, char **envp) argc 538 lrmd/main.c spawn_pidone(argc, argv, envp); argc 541 lrmd/main.c crm_log_preinit("lrmd", argc, argv); argc 545 lrmd/main.c crm_log_preinit("pacemaker_remoted", argc, argv); argc 551 lrmd/main.c flag = crm_get_option(argc, argv, &index); argc 580 lrmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 583 lrmd/main.c crm_bump_log_level(argc, argv); argc 273 lrmd/remote_ctl.c main(int argc, char **argv) argc 287 lrmd/remote_ctl.c flag = crm_get_option(argc, argv, &option_index); argc 361 lrmd/remote_ctl.c if (optind > argc) { argc 364 lrmd/remote_ctl.c crm_log_init("remote_client", LOG_INFO, FALSE, options.verbose ? TRUE : FALSE, argc, argv, FALSE); argc 443 lrmd/test.c main(int argc, char **argv) argc 457 lrmd/test.c flag = crm_get_option(argc, argv, &option_index); argc 551 lrmd/test.c if (optind > argc) { argc 563 lrmd/test.c crm_log_init("lrmd_ctest", LOG_INFO, TRUE, options.verbose ? TRUE : FALSE, argc, argv, FALSE); argc 906 mcp/pacemaker.c main(int argc, char **argv) argc 923 mcp/pacemaker.c crm_log_preinit(NULL, argc, argv); argc 929 mcp/pacemaker.c flag = crm_get_option(argc, argv, &option_index); argc 935 mcp/pacemaker.c crm_bump_log_level(argc, argv); argc 964 mcp/pacemaker.c if (optind < argc) { argc 966 mcp/pacemaker.c while (optind < argc) argc 981 mcp/pacemaker.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 122 pengine/main.c main(int argc, char **argv) argc 128 pengine/main.c crm_log_preinit(NULL, argc, argv); argc 135 pengine/main.c flag = crm_get_option(argc, argv, &index); argc 141 pengine/main.c crm_bump_log_level(argc, argv); argc 152 pengine/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argc 157 pengine/main.c if (optind > argc) { argc 165 pengine/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 146 pengine/ptest.c main(int argc, char **argv) argc 191 pengine/ptest.c flag = crm_get_option(argc, argv, &option_index); argc 231 pengine/ptest.c crm_bump_log_level(argc, argv); argc 247 pengine/ptest.c if (optind < argc) { argc 249 pengine/ptest.c while (optind < argc) { argc 255 pengine/ptest.c if (optind > argc) { argc 37 scratch.c main(int argc, char **argv) argc 43 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); argc 45 scratch.c flag = getopt(argc, argv, OPTARGS); argc 84 tools/attrd_updater.c main(int argc, char **argv) argc 106 tools/attrd_updater.c if (argc < 2) { argc 111 tools/attrd_updater.c flag = crm_get_option(argc, argv, &index); argc 117 tools/attrd_updater.c crm_bump_log_level(argc, argv); argc 152 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argc 163 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argc 171 tools/attrd_updater.c if (optind > argc) { argc 159 tools/cib_shadow.c main(int argc, char **argv) argc 180 tools/cib_shadow.c if (argc < 2) { argc 185 tools/cib_shadow.c flag = crm_get_option(argc, argv, &option_index); argc 231 tools/cib_shadow.c crm_bump_log_level(argc, argv); argc 251 tools/cib_shadow.c if (optind < argc) { argc 253 tools/cib_shadow.c while (optind < argc) argc 259 tools/cib_shadow.c if (optind > argc) { argc 201 tools/cibadmin.c main(int argc, char **argv) argc 223 tools/cibadmin.c if (argc < 2) { argc 228 tools/cibadmin.c flag = crm_get_option(argc, argv, &option_index); argc 290 tools/cibadmin.c crm_log_args(argc, argv); argc 308 tools/cibadmin.c crm_log_args(argc, argv); argc 313 tools/cibadmin.c crm_log_args(argc, argv); argc 317 tools/cibadmin.c crm_log_args(argc, argv); argc 342 tools/cibadmin.c crm_log_args(argc, argv); argc 346 tools/cibadmin.c if (optind < argc) { argc 365 tools/cibadmin.c crm_bump_log_level(argc, argv); argc 369 tools/cibadmin.c if (optind < argc) { argc 371 tools/cibadmin.c while (optind < argc) argc 377 tools/cibadmin.c if (optind > argc || cib_action == NULL) { argc 117 tools/crm_attribute.c main(int argc, char **argv) argc 134 tools/crm_attribute.c if (argc < 2) { argc 139 tools/crm_attribute.c flag = crm_get_option(argc, argv, &option_index); argc 145 tools/crm_attribute.c crm_bump_log_level(argc, argv); argc 159 tools/crm_attribute.c crm_log_args(argc, argv); argc 209 tools/crm_attribute.c if (optind < argc) { argc 211 tools/crm_attribute.c while (optind < argc) argc 216 tools/crm_attribute.c if (optind > argc) { argc 221 tools/crm_diff.c main(int argc, char **argv) argc 244 tools/crm_diff.c if (argc < 2) { argc 249 tools/crm_diff.c flag = crm_get_option(argc, argv, &option_index); argc 282 tools/crm_diff.c crm_bump_log_level(argc, argv); argc 295 tools/crm_diff.c if (optind < argc) { argc 297 tools/crm_diff.c while (optind < argc) argc 302 tools/crm_diff.c if (optind > argc) { argc 40 tools/crm_error.c main(int argc, char **argv) argc 55 tools/crm_error.c flag = crm_get_option(argc, argv, &option_index); argc 60 tools/crm_error.c crm_bump_log_level(argc, argv); argc 93 tools/crm_error.c for (lpc = optind; lpc < argc; lpc++) { argc 541 tools/crm_mon.c main(int argc, char **argv) argc 565 tools/crm_mon.c flag = crm_get_option(argc, argv, &option_index); argc 571 tools/crm_mon.c crm_bump_log_level(argc, argv); argc 707 tools/crm_mon.c argerr += (optind < argc); argc 715 tools/crm_mon.c } else if (optind < argc) { argc 717 tools/crm_mon.c while (optind < argc) argc 868 tools/crm_node.c main(int argc, char **argv) argc 885 tools/crm_node.c flag = crm_get_option(argc, argv, &option_index); argc 890 tools/crm_node.c crm_bump_log_level(argc, argv); argc 937 tools/crm_node.c if (optind > argc) { argc 416 tools/crm_resource.c main(int argc, char **argv) argc 460 tools/crm_resource.c flag = crm_get_option_long(argc, argv, &option_index, &longname); argc 489 tools/crm_resource.c crm_log_args(argc, argv); argc 586 tools/crm_resource.c crm_bump_log_level(argc, argv); argc 609 tools/crm_resource.c crm_log_args(argc, argv); argc 632 tools/crm_resource.c crm_log_args(argc, argv); argc 643 tools/crm_resource.c crm_log_args(argc, argv); argc 663 tools/crm_resource.c crm_log_args(argc, argv); argc 670 tools/crm_resource.c crm_log_args(argc, argv); argc 677 tools/crm_resource.c crm_log_args(argc, argv); argc 716 tools/crm_resource.c crm_log_args(argc, argv); argc 724 tools/crm_resource.c crm_log_args(argc, argv); argc 755 tools/crm_resource.c if (optind < argc argc 761 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { argc 778 tools/crm_resource.c } else if (optind < argc && argv[optind] != NULL && rsc_cmd == 0) { argc 780 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { argc 781 tools/crm_resource.c CMD_ERR("[%d of %d] %s ", optind, argc, argv[optind]); argc 787 tools/crm_resource.c if (optind > argc) { argc 607 tools/crm_simulate.c main(int argc, char **argv) argc 648 tools/crm_simulate.c if (argc < 2) { argc 653 tools/crm_simulate.c flag = crm_get_option(argc, argv, &index); argc 666 tools/crm_simulate.c crm_bump_log_level(argc, argv); argc 783 tools/crm_simulate.c if (optind > argc) { argc 703 tools/crm_ticket.c main(int argc, char **argv) argc 720 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); argc 724 tools/crm_ticket.c if (argc < 2) { argc 729 tools/crm_ticket.c flag = crm_get_option(argc, argv, &option_index); argc 735 tools/crm_ticket.c crm_bump_log_level(argc, argv); argc 822 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { argc 824 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { argc 831 tools/crm_ticket.c if (optind > argc) { argc 64 tools/crm_uuid.c main(int argc, char **argv) argc 70 tools/crm_uuid.c if (argc == 1) { argc 81 tools/crm_uuid.c flag = crm_get_option(argc, argv, &index); argc 74 tools/crm_verify.c main(int argc, char **argv) argc 101 tools/crm_verify.c flag = crm_get_option(argc, argv, &option_index); argc 122 tools/crm_verify.c crm_bump_log_level(argc, argv); argc 138 tools/crm_verify.c if (optind < argc) { argc 140 tools/crm_verify.c while (optind < argc) { argc 146 tools/crm_verify.c if (optind > argc) { argc 127 tools/crmadmin.c main(int argc, char **argv) argc 137 tools/crmadmin.c if (argc < 2) { argc 142 tools/crmadmin.c flag = crm_get_option(argc, argv, &option_index); argc 150 tools/crmadmin.c crm_bump_log_level(argc, argv); argc 209 tools/crmadmin.c if (optind < argc) { argc 211 tools/crmadmin.c while (optind < argc) argc 216 tools/crmadmin.c if (optind > argc) { argc 540 tools/ipmiservicelogd.c main(int argc, char *argv[]) argc 558 tools/ipmiservicelogd.c rv = ipmi_parse_args2(&curr_arg, argc, argv, &args); argc 568 tools/ipmiservicelogd.c crm_log_init("ipmiservicelogd", LOG_INFO, FALSE, TRUE, argc, argv); argc 84 tools/notifyServicelogEvent.c main(int argc, char *argv[]) argc 94 tools/notifyServicelogEvent.c crm_log_init_quiet("notifyServicelogEvent", LOG_INFO, FALSE, TRUE, argc, argv); argc 98 tools/notifyServicelogEvent.c if (argc < 2) { argc 103 tools/notifyServicelogEvent.c flag = crm_get_option(argc, argv, &index); argc 118 tools/notifyServicelogEvent.c if (argc - optind != 1) { argc 73 tools/test.iso8601.c main(int argc, char **argv) argc 93 tools/test.iso8601.c if (argc < 2) { argc 98 tools/test.iso8601.c flag = crm_get_option(argc, argv, &index); argc 104 tools/test.iso8601.c crm_bump_log_level(argc, argv);