فهرست منبع

change and extend description of -o (override projection) flags

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65846 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 سال پیش
والد
کامیت
14d6b3126f

+ 4 - 2
raster/r.external/main.c

@@ -96,8 +96,10 @@ int main(int argc, char *argv[])
 
     flag.o = G_define_flag();
     flag.o->key = 'o';
-    flag.o->description =
-	_("Override projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     flag.e = G_define_flag();
     flag.e->key = 'e';

+ 3 - 1
raster/r.in.gdal/main.c

@@ -154,8 +154,10 @@ int main(int argc, char *argv[])
 
     flag_o = G_define_flag();
     flag_o->key = 'o';
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
     flag_o->description =
-	_("Override projection (use location's projection)");
+	_("Assume that the dataset has same projection as the current location");
 
     flag_e = G_define_flag();
     flag_e->key = 'e';

+ 4 - 2
raster/r.in.lidar/main.c

@@ -275,8 +275,10 @@ int main(int argc, char *argv[])
 
     over_flag = G_define_flag();
     over_flag->key = 'o';
-    over_flag->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     scan_flag = G_define_flag();
     scan_flag->key = 's';

+ 2 - 1
scripts/r.unpack/r.unpack.py

@@ -30,7 +30,8 @@
 #%end
 #%flag
 #% key: o
-#% description: Override projection check (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #% guisection: Output settings
 #%end
 

+ 2 - 1
scripts/v.unpack/v.unpack.py

@@ -30,7 +30,8 @@
 #%end
 #%flag
 #% key: o
-#% description: Override projection check (use current location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 import os

+ 2 - 1
temporal/t.rast.import/t.rast.import.py

@@ -83,7 +83,8 @@
 
 #%flag
 #% key: o
-#% description: Override projection (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 #%flag

+ 2 - 1
temporal/t.vect.import/t.vect.import.py

@@ -72,7 +72,8 @@
 
 #%flag
 #% key: o
-#% description: Override projection (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 #%flag

+ 4 - 2
vector/v.in.lidar/main.c

@@ -210,8 +210,10 @@ int main(int argc, char *argv[])
 
     over_flag = G_define_flag();
     over_flag->key = 'o';
-    over_flag->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     region_flag = G_define_flag();
     region_flag->key = 'r';

+ 4 - 2
vector/v.in.ogr/main.c

@@ -278,8 +278,10 @@ int main(int argc, char *argv[])
 
     flag.over = G_define_flag();
     flag.over->key = 'o';
-    flag.over->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     flag.region = G_define_flag();
     flag.region->key = 'r';