瀏覽代碼

v.external.out: print message about output format
(merge r61397-8 from trunk)


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

Martin Landa 11 年之前
父節點
當前提交
da8daecee2
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      vector/v.external.out/main.c

+ 4 - 0
vector/v.external.out/main.c

@@ -66,6 +66,7 @@ int main(int argc, char *argv[])
             if (G_remove("", "PG") == 1)
                 G_verbose_message(_("Switched from PostGIS to native format"));
         }
+        G_message(_("Current output format for vectors: %s"), "GRASS");
         exit(EXIT_SUCCESS);
     }
 
@@ -91,5 +92,8 @@ int main(int argc, char *argv[])
         save_status_file(options.output);
     }
 
+    if (options.dsn->answer || options.input->answer)
+        G_message(_("Current output format for vectors: %s"), format);
+    
     exit(EXIT_SUCCESS);
 }