|
@@ -617,7 +617,7 @@ static struct argp_option options[] = {
|
|
N_("exclude directories containing CACHEDIR.TAG"), GRID+1 },
|
|
N_("exclude directories containing CACHEDIR.TAG"), GRID+1 },
|
|
{"exclude-tag", EXCLUDE_TAG_OPTION, N_("FILE"), 0,
|
|
{"exclude-tag", EXCLUDE_TAG_OPTION, N_("FILE"), 0,
|
|
N_("exclude contents of directories containing FILE, except"
|
|
N_("exclude contents of directories containing FILE, except"
|
|
- " for FILE itself"), GRID+1 },
|
|
|
|
|
|
+ " for FILE itself"), GRID+1 },
|
|
{"exclude-tag-under", EXCLUDE_TAG_UNDER_OPTION, N_("FILE"), 0,
|
|
{"exclude-tag-under", EXCLUDE_TAG_UNDER_OPTION, N_("FILE"), 0,
|
|
N_("exclude everything under directories containing FILE"), GRID+1 },
|
|
N_("exclude everything under directories containing FILE"), GRID+1 },
|
|
{"exclude-tag-all", EXCLUDE_TAG_ALL_OPTION, N_("FILE"), 0,
|
|
{"exclude-tag-all", EXCLUDE_TAG_ALL_OPTION, N_("FILE"), 0,
|
|
@@ -1539,15 +1539,15 @@ parse_opt (int key, char *arg, struct argp_state *state)
|
|
case EXCLUDE_TAG_OPTION:
|
|
case EXCLUDE_TAG_OPTION:
|
|
add_exclusion_tag (arg, exclusion_tag_contents, NULL);
|
|
add_exclusion_tag (arg, exclusion_tag_contents, NULL);
|
|
break;
|
|
break;
|
|
-
|
|
|
|
|
|
+
|
|
case EXCLUDE_TAG_UNDER_OPTION:
|
|
case EXCLUDE_TAG_UNDER_OPTION:
|
|
add_exclusion_tag (arg, exclusion_tag_under, NULL);
|
|
add_exclusion_tag (arg, exclusion_tag_under, NULL);
|
|
break;
|
|
break;
|
|
-
|
|
|
|
|
|
+
|
|
case EXCLUDE_TAG_ALL_OPTION:
|
|
case EXCLUDE_TAG_ALL_OPTION:
|
|
add_exclusion_tag (arg, exclusion_tag_all, NULL);
|
|
add_exclusion_tag (arg, exclusion_tag_all, NULL);
|
|
break;
|
|
break;
|
|
-
|
|
|
|
|
|
+
|
|
case FORCE_LOCAL_OPTION:
|
|
case FORCE_LOCAL_OPTION:
|
|
force_local_option = true;
|
|
force_local_option = true;
|
|
break;
|
|
break;
|
|
@@ -2320,9 +2320,6 @@ main (int argc, char **argv)
|
|
|
|
|
|
decode_options (argc, argv);
|
|
decode_options (argc, argv);
|
|
|
|
|
|
- /* Close all inherited open descriptors, except for the first three */
|
|
|
|
- closeopen ();
|
|
|
|
-
|
|
|
|
name_init ();
|
|
name_init ();
|
|
|
|
|
|
/* Main command execution. */
|
|
/* Main command execution. */
|