diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-29 01:02:02 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-29 01:02:02 -0500 |
| commit | 3340301b02ae647cdb286112c32772bda0faf503 (patch) | |
| tree | 6847f4f17dee95c5801e3e80607f2c1f6c1f983c /src/opts.c | |
| parent | 0861fc6fc6614084bad79db36eeae4eefd75ff9e (diff) | |
| download | alftools-3340301b02ae647cdb286112c32772bda0faf503.tar.gz | |
unalf: actually use timestamps from the alf header (and add -T option to not use them).
Diffstat (limited to 'src/opts.c')
| -rw-r--r-- | src/opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ #include "unalf.h" -#define OPTIONS "aefklLopqtvVd:x:" +#define OPTIONS "aefklLopqtTvVd:x:" /* uncomment to test exclude/include glob lists */ // #define DEBUG_GLOBS @@ -44,6 +44,7 @@ void parse_opts(int argc, char * const *argv) { case 'p': opts.extract_to_stdout++; opts.quiet++; break; case 'q': opts.quiet++; break; case 't': opts.testonly++; opts.listonly = 0; break; + case 'T': opts.ignore_datetime = 1; break; case 'v': opts.listonly = 1; opts.testonly = 0; opts.verbose_list++; break; case 'V': puts(VERSION); exit(0); break; case 'd': opts.outdir = optarg; break; |
