argv 631 attrd/legacy.c main(int argc, char **argv) argv 640 attrd/legacy.c crm_log_init(T_ATTRD, LOG_NOTICE, TRUE, FALSE, argc, argv, FALSE); argv 643 attrd/legacy.c while ((flag = getopt(argc, argv, OPTARGS)) != EOF) { argv 646 attrd/legacy.c crm_bump_log_level(argc, argv); argv 326 attrd/main.c main(int argc, char **argv) argv 334 attrd/main.c crm_log_preinit(NULL, argc, argv); argv 341 attrd/main.c flag = crm_get_option(argc, argv, &index); argv 347 attrd/main.c crm_bump_log_level(argc, argv); argv 366 attrd/main.c crm_log_init(T_ATTRD, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 68 cib/cibmon.c main(int argc, char **argv) argv 94 cib/cibmon.c flag = getopt_long(argc, argv, OPTARGS, long_options, &option_index); argv 96 cib/cibmon.c flag = getopt(argc, argv, OPTARGS); argv 103 cib/cibmon.c crm_bump_log_level(argc, argv); argv 127 cib/cibmon.c printf("%s ", argv[optind++]); argv 131 cib/main.c main(int argc, char **argv) argv 139 cib/main.c crm_log_preinit(NULL, argc, argv); argv 151 cib/main.c flag = crm_get_option(argc, argv, &index); argv 157 cib/main.c crm_bump_log_level(argc, argv); argv 204 cib/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argv 217 cib/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 59 crmd/main.c main(int argc, char **argv) argv 66 crmd/main.c crm_log_preinit(NULL, argc, argv); argv 71 crmd/main.c flag = crm_get_option(argc, argv, &index); argv 77 crmd/main.c crm_bump_log_level(argc, argv); argv 88 crmd/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argv 91 crmd/main.c } else if (argc - optind == 1 && safe_str_eq("version", argv[optind])) { argv 96 crmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 402 fencing/admin.c main(int argc, char **argv) argv 437 fencing/admin.c flag = crm_get_option_long(argc, argv, &option_index, &longname); argv 444 fencing/admin.c crm_bump_log_level(argc, argv); argv 492 fencing/admin.c crm_log_args(argc, argv); argv 1285 fencing/main.c main(int argc, char **argv) argv 1295 fencing/main.c crm_log_preinit("stonith-ng", argc, argv); argv 1301 fencing/main.c flag = crm_get_option(argc, argv, &option_index); argv 1308 fencing/main.c crm_bump_log_level(argc, argv); argv 1330 fencing/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argv 1458 fencing/main.c crm_log_init("stonith-ng", LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 600 fencing/test.c main(int argc, char **argv) argv 613 fencing/test.c flag = crm_get_option(argc, argv, &option_index); argv 641 fencing/test.c crm_log_init("stonith-test", LOG_INFO, TRUE, verbose ? TRUE : FALSE, argc, argv, FALSE); argv 85 include/crm/common/logging.h void crm_log_preinit(const char *entity, int argc, char **argv); argv 87 include/crm/common/logging.h gboolean to_stderr, int argc, char **argv, gboolean quiet); argv 89 include/crm/common/logging.h void crm_log_args(int argc, char **argv); argv 96 include/crm/common/logging.h void crm_bump_log_level(int argc, char **argv); argv 96 include/crm_internal.h int crm_get_option(int argc, char **argv, int *index); argv 97 include/crm_internal.h int crm_get_option_long(int argc, char **argv, int *index, const char **longname); argv 678 lib/common/logging.c crm_identity(const char *entity, int argc, char **argv) argv 687 lib/common/logging.c } else if (argc > 0 && argv != NULL) { argv 688 lib/common/logging.c char *mutable = strdup(argv[0]); argv 708 lib/common/logging.c crm_log_preinit(const char *entity, int argc, char **argv) argv 737 lib/common/logging.c crm_identity(entity, argc, argv); argv 759 lib/common/logging.c int argc, char **argv, gboolean quiet) argv 767 lib/common/logging.c crm_log_preinit(entity, argc, argv); argv 841 lib/common/logging.c crm_log_args(argc, argv); argv 924 lib/common/logging.c crm_bump_log_level(int argc, char **argv) argv 930 lib/common/logging.c crm_log_args(argc, argv); argv 949 lib/common/logging.c crm_log_args(int argc, char **argv) argv 959 lib/common/logging.c if (argc == 0 || argv == NULL || logged) { argv 966 lib/common/logging.c if (argv[lpc] == NULL) { argv 970 lib/common/logging.c len = 2 + strlen(argv[lpc]); /* +1 space, +1 EOS */ argv 972 lib/common/logging.c existing_len += sprintf(arg_string + existing_len, "%s ", argv[lpc]); argv 1053 lib/common/utils.c crm_get_option(int argc, char **argv, int *index) argv 1055 lib/common/utils.c return crm_get_option_long(argc, argv, index, NULL); argv 1059 lib/common/utils.c crm_get_option_long(int argc, char **argv, int *index, const char **longname) argv 1070 lib/common/utils.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); argv 1097 lib/common/utils.c return getopt(argc, argv, crm_short_options); argv 437 lrmd/main.c static void spawn_pidone(int argc, char **argv, char **envp) argv 473 lrmd/main.c if(!i || (LastArgv + 1 == argv[i])) argv 474 lrmd/main.c LastArgv = argv[i] + strlen(argv[i]); argv 483 lrmd/main.c maxlen = (LastArgv - argv[0]) - 2; argv 487 lrmd/main.c snprintf(argv[0], maxlen, "%s", name); argv 490 lrmd/main.c p = &argv[0][i]; argv 493 lrmd/main.c argv[1] = NULL; argv 530 lrmd/main.c main(int argc, char **argv, char **envp) argv 538 lrmd/main.c spawn_pidone(argc, argv, envp); argv 541 lrmd/main.c crm_log_preinit("lrmd", argc, argv); argv 545 lrmd/main.c crm_log_preinit("pacemaker_remoted", argc, argv); argv 551 lrmd/main.c flag = crm_get_option(argc, argv, &index); argv 580 lrmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 583 lrmd/main.c crm_bump_log_level(argc, argv); argv 273 lrmd/remote_ctl.c main(int argc, char **argv) argv 287 lrmd/remote_ctl.c flag = crm_get_option(argc, argv, &option_index); argv 364 lrmd/remote_ctl.c crm_log_init("remote_client", LOG_INFO, FALSE, options.verbose ? TRUE : FALSE, argc, argv, FALSE); argv 443 lrmd/test.c main(int argc, char **argv) argv 457 lrmd/test.c flag = crm_get_option(argc, argv, &option_index); argv 563 lrmd/test.c crm_log_init("lrmd_ctest", LOG_INFO, TRUE, options.verbose ? TRUE : FALSE, argc, argv, FALSE); argv 906 mcp/pacemaker.c main(int argc, char **argv) argv 923 mcp/pacemaker.c crm_log_preinit(NULL, argc, argv); argv 929 mcp/pacemaker.c flag = crm_get_option(argc, argv, &option_index); argv 935 mcp/pacemaker.c crm_bump_log_level(argc, argv); argv 967 mcp/pacemaker.c printf("%s ", argv[optind++]); argv 981 mcp/pacemaker.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 122 pengine/main.c main(int argc, char **argv) argv 128 pengine/main.c crm_log_preinit(NULL, argc, argv); argv 135 pengine/main.c flag = crm_get_option(argc, argv, &index); argv 141 pengine/main.c crm_bump_log_level(argc, argv); argv 152 pengine/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { argv 165 pengine/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argv 146 pengine/ptest.c main(int argc, char **argv) argv 191 pengine/ptest.c flag = crm_get_option(argc, argv, &option_index); argv 231 pengine/ptest.c crm_bump_log_level(argc, argv); argv 250 pengine/ptest.c printf("%s ", argv[optind++]); argv 37 scratch.c main(int argc, char **argv) argv 43 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); argv 45 scratch.c flag = getopt(argc, argv, OPTARGS); argv 84 tools/attrd_updater.c main(int argc, char **argv) argv 111 tools/attrd_updater.c flag = crm_get_option(argc, argv, &index); argv 117 tools/attrd_updater.c crm_bump_log_level(argc, argv); argv 152 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argv 163 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argv 159 tools/cib_shadow.c main(int argc, char **argv) argv 185 tools/cib_shadow.c flag = crm_get_option(argc, argv, &option_index); argv 231 tools/cib_shadow.c crm_bump_log_level(argc, argv); argv 254 tools/cib_shadow.c printf("%s ", argv[optind++]); argv 201 tools/cibadmin.c main(int argc, char **argv) argv 228 tools/cibadmin.c flag = crm_get_option(argc, argv, &option_index); argv 290 tools/cibadmin.c crm_log_args(argc, argv); argv 308 tools/cibadmin.c crm_log_args(argc, argv); argv 313 tools/cibadmin.c crm_log_args(argc, argv); argv 317 tools/cibadmin.c crm_log_args(argc, argv); argv 342 tools/cibadmin.c crm_log_args(argc, argv); argv 347 tools/cibadmin.c crm_xml_add(output, XML_ATTR_VALIDATION, argv[optind]); argv 365 tools/cibadmin.c crm_bump_log_level(argc, argv); argv 372 tools/cibadmin.c printf("%s ", argv[optind++]); argv 117 tools/crm_attribute.c main(int argc, char **argv) argv 139 tools/crm_attribute.c flag = crm_get_option(argc, argv, &option_index); argv 145 tools/crm_attribute.c crm_bump_log_level(argc, argv); argv 159 tools/crm_attribute.c crm_log_args(argc, argv); argv 212 tools/crm_attribute.c printf("%s ", argv[optind++]); argv 221 tools/crm_diff.c main(int argc, char **argv) argv 249 tools/crm_diff.c flag = crm_get_option(argc, argv, &option_index); argv 282 tools/crm_diff.c crm_bump_log_level(argc, argv); argv 298 tools/crm_diff.c printf("%s ", argv[optind++]); argv 40 tools/crm_error.c main(int argc, char **argv) argv 55 tools/crm_error.c flag = crm_get_option(argc, argv, &option_index); argv 60 tools/crm_error.c crm_bump_log_level(argc, argv); argv 94 tools/crm_error.c rc = crm_atoi(argv[lpc], NULL); argv 541 tools/crm_mon.c main(int argc, char **argv) argv 559 tools/crm_mon.c if (crm_ends_with_ext(argv[0], ".cgi") == TRUE) { argv 565 tools/crm_mon.c flag = crm_get_option(argc, argv, &option_index); argv 571 tools/crm_mon.c crm_bump_log_level(argc, argv); argv 718 tools/crm_mon.c printf("%s ", argv[optind++]); argv 868 tools/crm_node.c main(int argc, char **argv) argv 885 tools/crm_node.c flag = crm_get_option(argc, argv, &option_index); argv 890 tools/crm_node.c crm_bump_log_level(argc, argv); argv 416 tools/crm_resource.c main(int argc, char **argv) argv 460 tools/crm_resource.c flag = crm_get_option_long(argc, argv, &option_index, &longname); argv 489 tools/crm_resource.c crm_log_args(argc, argv); argv 586 tools/crm_resource.c crm_bump_log_level(argc, argv); argv 609 tools/crm_resource.c crm_log_args(argc, argv); argv 632 tools/crm_resource.c crm_log_args(argc, argv); argv 643 tools/crm_resource.c crm_log_args(argc, argv); argv 663 tools/crm_resource.c crm_log_args(argc, argv); argv 670 tools/crm_resource.c crm_log_args(argc, argv); argv 677 tools/crm_resource.c crm_log_args(argc, argv); argv 716 tools/crm_resource.c crm_log_args(argc, argv); argv 724 tools/crm_resource.c crm_log_args(argc, argv); argv 756 tools/crm_resource.c && argv[optind] != NULL argv 761 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { argv 762 tools/crm_resource.c char *name = calloc(1, strlen(argv[optind])); argv 763 tools/crm_resource.c char *value = calloc(1, strlen(argv[optind])); argv 764 tools/crm_resource.c int rc = sscanf(argv[optind], "%[^=]=%s", name, value); argv 770 tools/crm_resource.c CMD_ERR("Error parsing '%s' as a name=value pair for --%s", argv[optind], rsc_long_cmd); argv 778 tools/crm_resource.c } else if (optind < argc && argv[optind] != NULL && rsc_cmd == 0) { argv 780 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { argv 781 tools/crm_resource.c CMD_ERR("[%d of %d] %s ", optind, argc, argv[optind]); argv 607 tools/crm_simulate.c main(int argc, char **argv) argv 653 tools/crm_simulate.c flag = crm_get_option(argc, argv, &index); argv 666 tools/crm_simulate.c crm_bump_log_level(argc, argv); argv 703 tools/crm_ticket.c main(int argc, char **argv) argv 720 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); argv 729 tools/crm_ticket.c flag = crm_get_option(argc, argv, &option_index); argv 735 tools/crm_ticket.c crm_bump_log_level(argc, argv); argv 822 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { argv 824 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { argv 825 tools/crm_ticket.c CMD_ERR("%s ", argv[optind++]); argv 64 tools/crm_uuid.c main(int argc, char **argv) argv 81 tools/crm_uuid.c flag = crm_get_option(argc, argv, &index); argv 74 tools/crm_verify.c main(int argc, char **argv) argv 101 tools/crm_verify.c flag = crm_get_option(argc, argv, &option_index); argv 122 tools/crm_verify.c crm_bump_log_level(argc, argv); argv 141 tools/crm_verify.c printf("%s ", argv[optind++]); argv 127 tools/crmadmin.c main(int argc, char **argv) argv 142 tools/crmadmin.c flag = crm_get_option(argc, argv, &option_index); argv 150 tools/crmadmin.c crm_bump_log_level(argc, argv); argv 212 tools/crmadmin.c printf("%s ", argv[optind++]); argv 540 tools/ipmiservicelogd.c main(int argc, char *argv[]) argv 558 tools/ipmiservicelogd.c rv = ipmi_parse_args2(&curr_arg, argc, argv, &args); argv 561 tools/ipmiservicelogd.c usage(argv[0]); argv 568 tools/ipmiservicelogd.c crm_log_init("ipmiservicelogd", LOG_INFO, FALSE, TRUE, argc, argv); argv 84 tools/notifyServicelogEvent.c main(int argc, char *argv[]) argv 94 tools/notifyServicelogEvent.c crm_log_init_quiet("notifyServicelogEvent", LOG_INFO, FALSE, TRUE, argc, argv); argv 103 tools/notifyServicelogEvent.c flag = crm_get_option(argc, argv, &index); argv 128 tools/notifyServicelogEvent.c if (sscanf(argv[optind], U64T, &event_id) != 1) { argv 73 tools/test.iso8601.c main(int argc, char **argv) argv 98 tools/test.iso8601.c flag = crm_get_option(argc, argv, &index); argv 104 tools/test.iso8601.c crm_bump_log_level(argc, argv);