Преглед изворни кода

r.path: values= requires either -c or -a

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72871 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho пре 7 година
родитељ
комит
c001831965
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      raster/r.path/main.c

+ 1 - 0
raster/r.path/main.c

@@ -221,6 +221,7 @@ int main(int argc, char **argv)
     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);