[GRASS-SVN] r56394 - in grass/trunk/visualization: wximgview ximgview

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 23 13:56:08 PDT 2013


Author: hamish
Date: 2013-05-23 13:56:07 -0700 (Thu, 23 May 2013)
New Revision: 56394

Modified:
   grass/trunk/visualization/wximgview/main.cpp
   grass/trunk/visualization/ximgview/main.c
Log:
fix std option def'ns

Modified: grass/trunk/visualization/wximgview/main.cpp
===================================================================
--- grass/trunk/visualization/wximgview/main.cpp	2013-05-23 20:25:43 UTC (rev 56393)
+++ grass/trunk/visualization/wximgview/main.cpp	2013-05-23 20:56:07 UTC (rev 56394)
@@ -256,10 +256,11 @@
     G_add_keyword(_("visualization"));
     module->description = _("View BMP images from the PNG driver.");
 
-    opt.image = G_define_standard_option(G_OPT_F_OUTPUT);
+    opt.image = G_define_standard_option(G_OPT_F_INPUT);
     opt.image->key = "image";
     opt.image->required = YES;
-    opt.image->description = _("Name for output image file");
+    opt.image->gisprompt = "old_file,file,file";
+    opt.image->description = _("Image file");
 
     opt.percent = G_define_option();
     opt.percent->key = "percent";

Modified: grass/trunk/visualization/ximgview/main.c
===================================================================
--- grass/trunk/visualization/ximgview/main.c	2013-05-23 20:25:43 UTC (rev 56393)
+++ grass/trunk/visualization/ximgview/main.c	2013-05-23 20:56:07 UTC (rev 56394)
@@ -294,10 +294,11 @@
     G_add_keyword(_("visualization"));
     module->description = _("View BMP images from the PNG driver.");
 
-    opt.image = G_define_standard_option(G_OPT_F_OUTPUT);
+    opt.image = G_define_standard_option(G_OPT_F_INPUT);
     opt.image->key = "image";
     opt.image->required = YES;
-    opt.image->description = _("Name for output image file");
+    opt.image->gisprompt = "old_file,file,file";
+    opt.image->description = _("Image file");
 
     opt.percent = G_define_option();
     opt.percent->key = "percent";



More information about the grass-commit mailing list