Home | History | Annotate | Download | only in tools

Lines Matching refs:arg

630       const char *arg = argv[i];
632 if (strcmp (arg, "--help") == 0 ||
633 strcmp (arg, "-h") == 0 ||
634 strcmp (arg, "-?") == 0)
636 else if (strcmp (arg, "--auto-syntax") == 0)
638 else if (strcmp (arg, "-c") == 0 ||
639 strcmp (arg, "--csh-syntax") == 0)
641 else if (strcmp (arg, "-s") == 0 ||
642 strcmp (arg, "--sh-syntax") == 0)
644 else if (strcmp (arg, "--binary-syntax") == 0)
646 else if (strcmp (arg, "--version") == 0)
648 else if (strcmp (arg, "--exit-with-session") == 0)
650 else if (strstr (arg, "--autolaunch=") == arg)
662 s = strchr (arg, '=');
678 save_machine_uuid (arg);
681 else if (strcmp (arg, "--autolaunch") == 0)
683 else if (strstr (arg, "--config-file=") == arg)
693 file = strchr (arg, '=');
707 config_file = xstrdup (arg);
710 else if (strcmp (arg
712 else if (arg[0] == '-')
714 if (strcmp (arg, "--") != 0)
716 fprintf (stderr, "Option `%s' is unknown.\n", arg);
728 runprog = arg;
733 prev_arg = arg;
772 fprintf (stderr, "Machine UUID not provided as arg to --autolaunch\n");