diff options
Diffstat (limited to 'usr.bin/ar/ar.c')
-rw-r--r-- | usr.bin/ar/ar.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c index b131163342a6..51d114f6b7fa 100644 --- a/usr.bin/ar/ar.c +++ b/usr.bin/ar/ar.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <archive.h> +#include <err.h> #include <errno.h> #include <getopt.h> #include <libgen.h> @@ -194,7 +195,6 @@ main(int argc, char **argv) Uflag = 0; break; case 'f': - case 'T': bsdar->options |= AR_TR; break; case 'j': @@ -227,6 +227,10 @@ main(int argc, char **argv) case 's': bsdar->options |= AR_S; break; + case 'T': + warnx("-T is deprecated"); + bsdar->options |= AR_TR; + break; case 't': set_mode(bsdar, opt); break; |