aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2006-03-07 06:05:38 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2006-03-07 06:05:38 +0000
commitb5b52117326c516feb8a259bf5f54ef39d2cb950 (patch)
tree4a930735966138f0838a7798ee82d841b8b8c715 /usr.bin/tar
parentbce43ea96d61d9a960a54e85a8d4e7312fb3bf53 (diff)
Notes
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 31c6f532d7da..a63ee6fb593b 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -689,9 +689,7 @@ usage(struct bsdtar *bsdtar)
static void
version(void)
{
- printf("bsdtar %s, ", PACKAGE_VERSION);
- printf("%s\n", archive_version());
- printf("Copyright (C) 2003-2005 Tim Kientzle\n");
+ printf("bsdtar %s - %s\n", PACKAGE_VERSION, archive_version());
exit(1);
}
@@ -757,8 +755,7 @@ long_help(struct bsdtar *bsdtar)
} else
putchar(*p);
}
- fprintf(stdout, "\n%s %s\n", PACKAGE_NAME, PACKAGE_VERSION);
- fprintf(stdout, "%s\n", archive_version());
+ version();
}
static int