Lines Matching refs:argv
46 int run_command(int argc, char **argv, int start_position) in run_command() argument
48 if (strcmp(argv[start_position], "osnoise") == 0) { in run_command()
49 osnoise_main(argc-start_position, &argv[start_position]); in run_command()
51 } else if (strcmp(argv[start_position], "hwnoise") == 0) { in run_command()
52 hwnoise_main(argc-start_position, &argv[start_position]); in run_command()
54 } else if (strcmp(argv[start_position], "timerlat") == 0) { in run_command()
55 timerlat_main(argc-start_position, &argv[start_position]); in run_command()
64 int main(int argc, char *argv[]) in main() argument
69 retval = run_command(argc, argv, 0); in main()
76 if (strcmp(argv[1], "-h") == 0) { in main()
78 } else if (strcmp(argv[1], "--help") == 0) { in main()
82 retval = run_command(argc, argv, 1); in main()