Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/pax Sync tar_usage() with tar.1.



details:   https://anonhg.NetBSD.org/src/rev/c73fdc4dc299
branches:  trunk
changeset: 538210:c73fdc4dc299
user:      soren <soren%NetBSD.org@localhost>
date:      Mon Oct 14 15:04:41 2002 +0000

description:
Sync tar_usage() with tar.1.

diffstat:

 bin/pax/options.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 34a2f75cf4c2 -r c73fdc4dc299 bin/pax/options.c
--- a/bin/pax/options.c Mon Oct 14 14:41:22 2002 +0000
+++ b/bin/pax/options.c Mon Oct 14 15:04:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: options.c,v 1.43 2002/10/13 17:23:40 christos Exp $    */
+/*     $NetBSD: options.c,v 1.44 2002/10/14 15:04:41 soren Exp $       */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)options.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: options.c,v 1.43 2002/10/13 17:23:40 christos Exp $");
+__RCSID("$NetBSD: options.c,v 1.44 2002/10/14 15:04:41 soren Exp $");
 #endif
 #endif /* not lint */
 
@@ -1827,9 +1827,10 @@
 void
 tar_usage(void)
 {
-       (void)fputs("usage: tar -{txru}[cevfbhlmopwBLPX014578] [tapefile] ",
-                stderr);
-       (void)fputs("[blocksize] [exclude-file] file1 file2...\n", stderr);
+       (void)fputs("usage: tar -{crtux}[-befhmopqvwzHLOPXZ014578] [archive] "
+                   "[blocksize]\n"
+                   "           [-C directory] [-T file] [-s replstr] "
+                   "[file ...]\n", stderr);
        exit(1);
        /* NOTREACHED */
 }



Home | Main Index | Thread Index | Old Index