Browse Source

v.colors: reading from stdin is not supported, inform user about that
(merge https://trac.osgeo.org/grass/changeset/65564 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65565 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 9 years ago
parent
commit
75fec64209
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vector/v.colors/main.c

+ 1 - 0
vector/v.colors/main.c

@@ -280,6 +280,7 @@ int main(int argc, char *argv[])
 
     Rast_init_colors(&colors);
     if (is_from_stdin) {
+        G_fatal_error(_("Reading color rules from standard input is not currently supported"));
 	/*
         if (!read_color_rules(stdin, &colors, min, max, fp))
             exit(EXIT_FAILURE);