private static void argsParse(String[] args) {
		if(args.length<1){
			System.err.println("Usage: lhd -q \"path_to_query_file\" Execute queries in the file");
			System.err.println("-r Have breaks between queries");
			System.err.println("-i x;y;z Ignor queries of number x, y and z");
			System.exit(1);
		}
		
		List<String> arglst = new ArrayList<String>();
		arglst.addAll(Arrays.asList(args));
		
		while(!arglst.isEmpty()) {
			String cmd = arglst.remove(0);
			if(!cmd.startsWith("-")) {
				System.err.println("Should be one of \"-q\", \"-r\", \"-i\"...");
				System.exit(1);
			}
			
			switch (cmd) {
				case "-q":
					queriesFile = new File(parseP(arglst));
					if(!queriesFile.exists()) {
						System.err.println(queriesFile.getName()+" does not exist");
						System.exit(1);
					}
					break;
				case "-i":
					String str = parseP(arglst);
					String[] _ignor = str.split(";");
					List<Integer> lst = new ArrayList<Integer>();
					for(String s:_ignor){
						lst.add(Integer.getInteger(s));
					}
					lst.addAll(Arrays.asList(ignor));
					ignor = (Integer[]) lst.toArray();
				case "-v":
					Config.debug = true;
					break;
				case "-r":
					rest = true;
					break;
				default:
					System.out.println("Unregonized cmmand");
					break;
			}
		}
	}