[GRASS-SVN] r72871 - grass/trunk/raster/r.path
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 21 17:01:53 PDT 2018
Author: hcho
Date: 2018-06-21 17:01:53 -0700 (Thu, 21 Jun 2018)
New Revision: 72871
Modified:
grass/trunk/raster/r.path/main.c
Log:
r.path: values= requires either -c or -a
Modified: grass/trunk/raster/r.path/main.c
===================================================================
--- grass/trunk/raster/r.path/main.c 2018-06-21 23:55:29 UTC (rev 72870)
+++ grass/trunk/raster/r.path/main.c 2018-06-22 00:01:53 UTC (rev 72871)
@@ -221,6 +221,7 @@
G_option_requires_all(flag.copy, opt.rast, opt.val, NULL);
G_option_requires_all(flag.accum, opt.rast, opt.val, NULL);
G_option_requires_all(flag.count, opt.rast, NULL);
+ G_option_requires(opt.val, flag.copy, flag.accum, NULL);
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list