|
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
|
|
|
struct Option *angle_thresh_opt, *degree_thresh_opt,
|
|
|
*closeness_thresh_opt;
|
|
|
struct Option *betweeness_thresh_opt;
|
|
|
- struct Flag *ca_flag;
|
|
|
+ struct Flag *notab_flag;
|
|
|
int with_z;
|
|
|
int total_input, total_output; /* Number of points in the input/output map respectively */
|
|
|
double thresh, alpha, beta, reduction, slide, angle_thresh;
|
|
@@ -226,10 +226,9 @@ int main(int argc, char *argv[])
|
|
|
where_opt = G_define_standard_option(G_OPT_DB_WHERE);
|
|
|
where_opt->guisection = _("Selection");
|
|
|
|
|
|
- ca_flag = G_define_flag();
|
|
|
- ca_flag->key = 'c';
|
|
|
- ca_flag->description = _("Copy attributes");
|
|
|
- ca_flag->guisection = _("Attributes");
|
|
|
+ notab_flag = G_define_standard_flag(G_FLG_V_TABLE);
|
|
|
+ notab_flag->description = _("Do not copy attributes");
|
|
|
+ notab_flag->guisection = _("Attributes");
|
|
|
|
|
|
/* options and flags parser */
|
|
|
if (G_parser(argc, argv))
|
|
@@ -355,7 +354,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
/* copy tables here because method == NETWORK is complete and
|
|
|
* tables for Out may be needed for parse_filter_options() below */
|
|
|
- if (ca_flag->answer) {
|
|
|
+ if (!notab_flag->answer) {
|
|
|
if (method == NETWORK)
|
|
|
copy_tables_by_cats(&In, &Out);
|
|
|
else
|