Преглед на файлове

r3.flow: fix using option dependencies

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62261 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová преди 10 години
родител
ревизия
8f224e0270
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      raster3d/r3.flow/main.c

+ 2 - 2
raster3d/r3.flow/main.c

@@ -297,8 +297,8 @@ int main(int argc, char *argv[])
     G_option_exclusive(scalar_opt, vector_opt, NULL);
     G_option_required(flowlines_opt, flowacc_opt, NULL);
     G_option_requires(seed_opt, flowlines_opt, NULL);
-    G_option_requires(table_fl, flowlines_opt);
-    G_option_requires(sampled_opt, table_fl);
+    G_option_requires(table_fl, flowlines_opt, NULL);
+    G_option_requires(sampled_opt, table_fl, NULL);
 
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);