[GRASS-SVN] r69382 - grass/trunk/raster3d/r3.in.lidar
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 5 18:59:14 PDT 2016
Author: wenzeslaus
Date: 2016-09-05 18:59:14 -0700 (Mon, 05 Sep 2016)
New Revision: 69382
Modified:
grass/trunk/raster3d/r3.in.lidar/main.c
Log:
r3.in.lidar: use G_option_required instead of suppress_required because input is actually required
Modified: grass/trunk/raster3d/r3.in.lidar/main.c
===================================================================
--- grass/trunk/raster3d/r3.in.lidar/main.c 2016-09-06 01:56:18 UTC (rev 69381)
+++ grass/trunk/raster3d/r3.in.lidar/main.c 2016-09-06 01:59:14 UTC (rev 69382)
@@ -297,22 +297,20 @@
print_flag = G_define_flag();
print_flag->key = 'p';
print_flag->description = _("Print LAS file info and exit");
- print_flag->suppress_required = YES;
scan_flag = G_define_flag();
scan_flag->key = 's';
scan_flag->description = _("Scan data file for extent then exit");
- scan_flag->suppress_required = YES;
shell_style = G_define_flag();
shell_style->key = 'g';
shell_style->description = _("In scan mode, print using shell script style");
- shell_style->suppress_required = YES;
G_option_required(input_opt, file_list_opt, NULL);
G_option_exclusive(input_opt, file_list_opt, NULL);
G_option_required(count_output_opt, sum_output_opt, mean_output_opt,
- prop_count_output_opt, prop_sum_output_opt, NULL);
+ prop_count_output_opt, prop_sum_output_opt,
+ print_flag, scan_flag, shell_style, NULL);
G_option_requires(base_rast_res_flag, base_raster_opt, NULL);
G_option_requires_all(mean_output_opt, count_output_opt, sum_output_opt, NULL);
G_option_requires_all(prop_count_output_opt, count_output_opt, NULL);
More information about the grass-commit
mailing list