summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-01-24 21:38:18 +0000
committerarchie <archie@FreeBSD.org>2000-01-24 21:38:18 +0000
commitee5114590ef31e1dd03f4f18cfabf8c56ac8d6d3 (patch)
treef3c2ce525de4ab7aa9318d151d2d25d9bba25f1b /gnu
parent8ebb100647ff2371debb21d8f37364902ef7b402 (diff)
downloadFreeBSD-src-ee5114590ef31e1dd03f4f18cfabf8c56ac8d6d3.zip
FreeBSD-src-ee5114590ef31e1dd03f4f18cfabf8c56ac8d6d3.tar.gz
Fix typo for the flag ``--ungzip'' which should have been ``--gunzip''
as is documented in the man page. Retain the older mistaken version of the flag for backwards compatibility in case anybody is using it. Add $FreeBSD$ tag as cvs requires it. PR: gnu/7800
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/tar/tar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/tar/tar.c b/gnu/usr.bin/tar/tar.c
index 818282c..0aabdd8 100644
--- a/gnu/usr.bin/tar/tar.c
+++ b/gnu/usr.bin/tar/tar.c
@@ -21,6 +21,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* A tar (tape archiver) program.
*
* Written by John Gilmore, ihnp4!hoptoad!gnu, starting 25 Aug 85.
+ *
+ * $FreeBSD$
*/
#include <stdio.h>
@@ -172,7 +174,8 @@ struct option long_options[] =
{"bzip2", 0, 0, 'y'},
{"bunzip2", 0, 0, 'y'},
{"gzip", 0, 0, 'z'},
- {"ungzip", 0, 0, 'z'},
+ {"gunzip", 0, 0, 'z'},
+ {"ungzip", 0, 0, 'z'}, /* for backwards compatibility with former typo */
{"use-compress-program", 1, 0, 18},
OpenPOWER on IntegriCloud