Lines Matching refs:cur_arg
727 const std::string& cur_arg = args[cur_idx]; in ParseCommandLine() local
728 if (cur_arg == "--show-config") { in ParseCommandLine()
730 } else if (cur_arg == "--show-metadata") { in ParseCommandLine()
732 } else if (cur_arg == "--send-events") { in ParseCommandLine()
734 } else if (cur_arg == "--render-oneshot") { in ParseCommandLine()
736 } else if (cur_arg == "--save-attachments") { in ParseCommandLine()
738 } else if (cur_arg == "--save-images") { in ParseCommandLine()
741 } else if (cur_arg == "--callgrind-delim") { in ParseCommandLine()
744 } else if (cur_arg == "--ppm") { in ParseCommandLine()
750 } else if (cur_arg == "--png") { in ParseCommandLine()
756 } else if (cur_arg == "--txt") { in ParseCommandLine()
762 } else if (cur_arg == "--annot") { in ParseCommandLine()
769 } else if (cur_arg == "--skp") { in ParseCommandLine()
776 } else if (cur_arg.size() > 11 && in ParseCommandLine()
777 cur_arg.compare(0, 11, "--font-dir=") == 0) { in ParseCommandLine()
782 options->font_directory = cur_arg.substr(11); in ParseCommandLine()
784 } else if (cur_arg == "--emf") { in ParseCommandLine()
790 } else if (cur_arg == "--ps2") { in ParseCommandLine()
796 } else if (cur_arg == "--ps3") { in ParseCommandLine()
802 } else if (cur_arg == "--bmp") { in ParseCommandLine()
812 } else if (cur_arg.size() > 10 && in ParseCommandLine()
813 cur_arg.compare(0, 10, "--bin-dir=") == 0) { in ParseCommandLine()
818 options->bin_directory = cur_arg.substr(10); in ParseCommandLine()
822 } else if (cur_arg.size() > 8 && cur_arg.compare(0, 8, "--scale=") == 0) { in ParseCommandLine()
827 options->scale_factor_as_string = cur_arg.substr(8); in ParseCommandLine()
828 } else if (cur_arg == "--show-structure") { in ParseCommandLine()
834 } else if (cur_arg.size() > 8 && cur_arg.compare(0, 8, "--pages=") == 0) { in ParseCommandLine()
840 const std::string pages_string = cur_arg.substr(8); in ParseCommandLine()
851 } else if (cur_arg == "--md5") { in ParseCommandLine()
853 } else if (cur_arg.size() >= 2 && cur_arg[0] == '-' && cur_arg[1] == '-') { in ParseCommandLine()
854 fprintf(stderr, "Unrecognized argument %s\n", cur_arg.c_str()); in ParseCommandLine()