Browse Source

v.rectify: update for GUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50238 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 13 years ago
parent
commit
42fad8d00c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      vector/v.rectify/main.c

+ 3 - 1
vector/v.rectify/main.c

@@ -84,7 +84,9 @@ int main(int argc, char *argv[])
     val = G_define_option();
     val->key = "order";
     val->type = TYPE_INTEGER;
-    val->required = YES;
+    val->required = NO;
+    val->options = "1-3";
+    val->answer = "1";
     val->description = _("Rectification polynom order (1-3)");
     
     sep = G_define_standard_option(G_OPT_F_SEP);