[GRASS-SVN] r71792 - grass/trunk/raster/r.geomorphon
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 21 17:58:19 PST 2017
Author: wenzeslaus
Date: 2017-11-21 17:58:19 -0800 (Tue, 21 Nov 2017)
New Revision: 71792
Modified:
grass/trunk/raster/r.geomorphon/main.c
Log:
r.geomorphon: suggest most likely option in the error message
Not using std G_option_required() function because all options are in a long list here.
Modified: grass/trunk/raster/r.geomorphon/main.c
===================================================================
--- grass/trunk/raster/r.geomorphon/main.c 2017-11-21 02:12:58 UTC (rev 71791)
+++ grass/trunk/raster/r.geomorphon/main.c 2017-11-22 01:58:19 UTC (rev 71792)
@@ -198,7 +198,8 @@
num_outputs++;
}
if (!num_outputs && !multires)
- G_fatal_error(_("At least one output is required"));
+ G_fatal_error(_("At least one output is required, e.g. %s"),
+ opt_output[o_forms]->key);
meters = (flag_units->answer != 0);
extended = (flag_extended->answer != 0);
More information about the grass-commit
mailing list