[GRASS-SVN] r71796 - grass/branches/releasebranch_7_4/raster/r.geomorphon

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 22 00:07:14 PST 2017


Author: neteler
Date: 2017-11-22 00:07:14 -0800 (Wed, 22 Nov 2017)
New Revision: 71796

Modified:
   grass/branches/releasebranch_7_4/raster/r.geomorphon/main.c
Log:
r.geomorphon: suggest most likely option in the error message (trunk, r71792)

Modified: grass/branches/releasebranch_7_4/raster/r.geomorphon/main.c
===================================================================
--- grass/branches/releasebranch_7_4/raster/r.geomorphon/main.c	2017-11-22 03:33:36 UTC (rev 71795)
+++ grass/branches/releasebranch_7_4/raster/r.geomorphon/main.c	2017-11-22 08:07:14 UTC (rev 71796)
@@ -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