浏览代码

r.viewshed: use standardized options (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63066 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
97c4df3a4d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.viewshed/main.cpp

+ 1 - 1
raster/r.viewshed/main.cpp

@@ -573,7 +573,7 @@ parse_args(int argc, char *argv[], int *vpRow, int *vpCol,
     struct Option *streamdirOpt;
 
     streamdirOpt = G_define_option() ;
-    streamdirOpt->key        = "stream_dir";
+    streamdirOpt->key        = "directory";
     streamdirOpt->type       = TYPE_STRING;
     streamdirOpt->required   = NO;
     //streamdirOpt->answer     = "";