# define DEFAULT_BLOCKING 20
#endif
-static void usage (int) __attribute__ ((noreturn));
+void usage (int) __attribute__ ((noreturn));
\f
/* Miscellaneous. */
OCCURRENCE_OPTION,
OVERWRITE_OPTION,
OWNER_OPTION,
+ PAX_OPTION,
POSIX_OPTION,
PRESERVE_OPTION,
RECORD_SIZE_OPTION,
{"one-file-system", no_argument, 0, 'l'},
{"overwrite", no_argument, 0, OVERWRITE_OPTION},
{"owner", required_argument, 0, OWNER_OPTION},
+ {"pax-option", required_argument, 0, PAX_OPTION},
{"portability", no_argument, 0, 'o'},
{"posix", no_argument, 0, POSIX_OPTION},
{"preserve", no_argument, 0, PRESERVE_OPTION},
};
/* Print a usage message and exit with STATUS. */
-static void
+void
usage (int status)
{
if (status != TAREXIT_SUCCESS)
}
break;
+ case PAX_OPTION:
+ xheader_set_option (optarg);
+ break;
+
case POSIX_OPTION:
set_archive_format ("posix");
break;
USAGE_ERROR ((0, 0,
_("--occurrence cannot be used in the requested operation mode")));
}
-
+
if (archive_names == 0)
{
/* If no archive file name given, try TAPE from the environment, or