@@ -57,39 +57,48 @@ int main( int argc, char **argv )
57
57
58
58
rast_opt = G_define_standard_option ( G_OPT_R_INPUT );
59
59
rast_opt -> key = "rast" ;
60
+ rast_opt -> description = "rast" ;
60
61
rast_opt -> required = NO ;
61
62
62
63
vect_opt = G_define_standard_option ( G_OPT_V_INPUT );
63
64
vect_opt -> key = "vect" ;
65
+ vect_opt -> description = "vect" ;
64
66
vect_opt -> required = NO ;
65
67
66
68
coor_opt = G_define_option ();
67
69
coor_opt -> key = "coor" ;
70
+ coor_opt -> description = "coor" ;
68
71
coor_opt -> type = TYPE_DOUBLE ;
69
72
coor_opt -> multiple = YES ;
70
73
71
74
north_opt = G_define_option ();
72
75
north_opt -> key = "north" ;
76
+ north_opt -> description = "north" ;
73
77
north_opt -> type = TYPE_STRING ;
74
78
75
79
south_opt = G_define_option ();
76
80
south_opt -> key = "south" ;
81
+ south_opt -> description = "south" ;
77
82
south_opt -> type = TYPE_STRING ;
78
83
79
84
east_opt = G_define_option ();
80
85
east_opt -> key = "east" ;
86
+ east_opt -> description = "east" ;
81
87
east_opt -> type = TYPE_STRING ;
82
88
83
89
west_opt = G_define_option ();
84
90
west_opt -> key = "west" ;
91
+ west_opt -> description = "west" ;
85
92
west_opt -> type = TYPE_STRING ;
86
93
87
94
rows_opt = G_define_option ();
88
95
rows_opt -> key = "rows" ;
96
+ rows_opt -> description = "rows" ;
89
97
rows_opt -> type = TYPE_INTEGER ;
90
98
91
99
cols_opt = G_define_option ();
92
100
cols_opt -> key = "cols" ;
101
+ cols_opt -> description = "cols" ;
93
102
cols_opt -> type = TYPE_INTEGER ;
94
103
95
104
if ( G_parser ( argc , argv ) )
0 commit comments