-/* $OpenBSD: options.c,v 1.21 1997/04/05 22:51:53 millert Exp $ */
+/* $OpenBSD: options.c,v 1.22 1997/04/06 06:26:23 millert Exp $ */
/* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */
/*-
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#else
-static char rcsid[] = "$OpenBSD: options.c,v 1.21 1997/04/05 22:51:53 millert Exp $";
+static char rcsid[] = "$OpenBSD: options.c,v 1.22 1997/04/06 06:26:23 millert Exp $";
#endif
#endif /* not lint */
* process option flags
*/
while ((c = getoldopt(argc, argv,
- "b:cef:hmopruts:vwxzBC:HLPSXZ014578"))
+ "b:cef:hmopruts:vwxzBC:HLPXZ014578"))
!= EOF) {
switch(c) {
case 'b':
Lflag = 1;
break;
case 'P':
- /*
- * do not follow symlinks
- */
- Lflag = 0;
- break;
- case 'S':
/*
* do not remove leading '/' from pathnames
*/
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: tar.1,v 1.9 1997/04/06 06:11:16 millert Exp $
+.\" $OpenBSD: tar.1,v 1.10 1997/04/06 06:26:25 millert Exp $
.\"
.Dd June 11, 1996
.Dt TAR 1
.Nd tape archiver
.Sh SYNOPSIS
.Nm
-.No [-]{crtux}[befhmopvwzHLPSXZ014578]
+.No [-]{crtux}[befhmopvwzHLPXZ014578]
.Op Ar archive
.Op Ar blocksize
.\" XXX how to do this right?
.It Fl L
Follow all symlinks.
.It Fl P
-Do not follow any symlinks.
-.It Fl S
Do not strip leading slashes (``/'') from pathnames.
The default is to strip leading slashes.
.It Fl X