Home | History | Annotate | Download | only in bus

Lines Matching defs:arg

381       const char *arg = argv[i];
383 if (strcmp (arg, "--help") == 0 ||
384 strcmp (arg, "-h") == 0 ||
385 strcmp (arg, "-?") == 0)
389 else if (strcmp (arg, "--version") == 0)
393 else if (strcmp (arg, "--introspect") == 0)
397 else if (strcmp (arg, "--nofork") == 0)
402 else if (strcmp (arg, "--fork") == 0)
407 else if (strcmp (arg, "--nopidfile") == 0)
411 else if (strcmp (arg, "--systemd-activation") == 0)
415 else if (strcmp (arg, "--system") == 0)
422 else if (strcmp (arg, "--session") == 0)
429 else if (strstr (arg, "--config-file=") == arg)
435 file = strchr (arg, '=');
446 if (!_dbus_string_append (&config_file, arg))
449 else if (strcmp (arg, "--config-file") == 0)
451 /* wait for next arg */
453 else if (strstr (arg, "--address=") == arg)
459 file = strchr (arg, '=');
470 if (!_dbus_string_append (&address, arg))
473 else if (strcmp (arg, "--address") == 0)
475 /* wait for next arg */
477 else if (strstr (arg, "--print-address=") == arg)
483 desc = strchr (arg, '=');
496 if (!_dbus_string_append (&addr_fd, arg))
501 else if (strcmp (arg, "--print-address") == 0)
503 print_address = TRUE; /* and we'll get the next arg if appropriate */
505 else if (strstr (arg, "--print-pid=") == arg)
511 desc = strchr (arg, '=');
524 if (!_dbus_string_append (&pid_fd, arg))
529 else if (strcmp (arg, "--print-pid") == 0)
531 print_pid = TRUE; /* and we'll get the next arg if appropriate */
538 prev_arg = arg;