Commit 540f5b06 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

added PLY to the documented input file formats

parent 4b50593a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -451,7 +451,7 @@ int main(int argc, char * argv[])
	args.set_cli_options(cli);

	// positional arguments (should be generally defined after optional arguments)
	cli |= lyra::arg(input_file, "input_file")("Input file (supported formats: OFF, STL, VTP, OBJ, GOCAD).").required();
	cli |= lyra::arg(input_file, "input_file")("Input file (supported formats: OFF, STL, OBJ, PLY, VTP, GOCAD).").required();
	cli |= lyra::arg(output_dir, "output_dir")("Output directory." + fmt_default(output_dir));

	auto result = cli.parse({ argc, argv });
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ int main(int argc, char* argv[])
	auto cli = lyra::cli();
	cli |= lyra::help(show_help).description("Polygonal mesh viewer based on the CGAL library");
	cli |= lyra::opt(verbose)["-v"]["--verbose"]("Instruct CGAL to produce verbose output.");
	cli |= lyra::arg(input_file, "input_file")("Input file (supported formats: OFF, STL, VTP, OBJ, GOCAD).").required();
	cli |= lyra::arg(input_file, "input_file")("Input file (supported formats: OFF, STL, OBJ, PLY, VTP, GOCAD).").required();

	auto result = cli.parse({ argc, argv });