|
@@ -66,12 +66,9 @@ int main(int argc, char *argv[])
|
|
|
opt.location->description = _("Location name (not location path)");
|
|
|
opt.location->guisection = _("Mapset");
|
|
|
|
|
|
- opt.gisdbase = G_define_option();
|
|
|
+ opt.gisdbase = G_define_standard_option(G_OPT_M_DIR);
|
|
|
opt.gisdbase->key = "dbase";
|
|
|
- opt.gisdbase->type = TYPE_STRING;
|
|
|
opt.gisdbase->required = NO;
|
|
|
- opt.gisdbase->multiple = NO;
|
|
|
- opt.gisdbase->key_desc = "path";
|
|
|
opt.gisdbase->label = _("GIS data directory");
|
|
|
opt.gisdbase->description = _("Full path to the directory where the new location is");
|
|
|
opt.gisdbase->guisection = _("Mapset");
|