Skip to content

Commit

Permalink
Avoid missing argument description warnings when loading GRASS layers
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 10, 2024
1 parent 3e9982f commit fe5f813
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/providers/grass/qgis.g.info.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,39 +57,48 @@ int main( int argc, char **argv )

rast_opt = G_define_standard_option( G_OPT_R_INPUT );
rast_opt->key = "rast";
rast_opt->description = "rast";
rast_opt->required = NO;

vect_opt = G_define_standard_option( G_OPT_V_INPUT );
vect_opt->key = "vect";
vect_opt->description = "vect";
vect_opt->required = NO;

coor_opt = G_define_option();
coor_opt->key = "coor";
coor_opt->description = "coor";
coor_opt->type = TYPE_DOUBLE;
coor_opt->multiple = YES;

north_opt = G_define_option();
north_opt->key = "north";
north_opt->description = "north";
north_opt->type = TYPE_STRING;

south_opt = G_define_option();
south_opt->key = "south";
south_opt->description = "south";
south_opt->type = TYPE_STRING;

east_opt = G_define_option();
east_opt->key = "east";
east_opt->description = "east";
east_opt->type = TYPE_STRING;

west_opt = G_define_option();
west_opt->key = "west";
west_opt->description = "west";
west_opt->type = TYPE_STRING;

rows_opt = G_define_option();
rows_opt->key = "rows";
rows_opt->description = "rows";
rows_opt->type = TYPE_INTEGER;

cols_opt = G_define_option();
cols_opt->key = "cols";
cols_opt->description = "cols";
cols_opt->type = TYPE_INTEGER;

if ( G_parser( argc, argv ) )
Expand Down

0 comments on commit fe5f813

Please sign in to comment.