[GRASS-SVN] r48576 - grass/trunk/raster/r.in.lidar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 1 03:29:22 EDT 2011
Author: mmetz
Date: 2011-10-01 00:29:22 -0700 (Sat, 01 Oct 2011)
New Revision: 48576
Modified:
grass/trunk/raster/r.in.lidar/main.c
Log:
r.in.lidar: improve scan and shell style mode
Modified: grass/trunk/raster/r.in.lidar/main.c
===================================================================
--- grass/trunk/raster/r.in.lidar/main.c 2011-09-30 14:58:21 UTC (rev 48575)
+++ grass/trunk/raster/r.in.lidar/main.c 2011-10-01 07:29:22 UTC (rev 48576)
@@ -237,6 +237,7 @@
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';
@@ -375,7 +376,7 @@
" from input data set.\n"));
G_fatal_error(error_msg);
}
- else {
+ else if (!shell_style->answer) {
G_message(_("Projection of input dataset and current location "
"appear to match"));
}
More information about the grass-commit
mailing list