private static Options getOptions(String[] args)
	{
		Options options = new Options();

		LinkedList<String> l = SortHelper.getAlgorithmList();
		Option opt = new Option("a1", true,
				"Name of the first algorithm. Can be one of '" + l.toString()
						+ "'");
		opt.setRequired(true);
		options.addOption(opt);

		opt = new Option("a2", true,
				"Name of the second algorithm. Can be one of '" + l.toString()
						+ "'");
		opt.setRequired(true);
		options.addOption(opt);

		options.addOption("n", true,
				"Number of elements in the array\nDefault is " + defaultN);

		options.addOption("t", true, "Number of trial runs. Default is "
				+ defaultNumTrials);

		options.addOption("i", true, "Input Type. Can be one of, "
				+ SortHelper.getInputNatureList().toString() + "\nDefault is "
				+ defaultInputType);

		options.addOption("d", true,
				"Type of data to be generated. Can be one of, " + dataTypes
						+ "\nDefault is " + defaultDataType);

		options.addOption("h", false, "This message");

		return options;
	}