-/* $OpenBSD: options.c,v 1.107 2023/12/09 23:00:11 jca Exp $ */
+/* $OpenBSD: options.c,v 1.108 2024/04/15 17:33:10 jca Exp $ */
/* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */
/*-
#define F_CPIO 3 /* format when called as cpio */
#define F_OTAR 4 /* format when called as tar -o */
#define F_TAR 5 /* format when called as tar */
-#define DEFLT 5 /* default write format from list above */
+#ifdef SMALL
+# define DEFLT 5 /* format when called as pax: ustar */
+#else
+# define DEFLT 10 /* format when called as pax: pax */
+#endif
/*
* ford is the archive search order used by get_arc() to determine what kind
-.\" $OpenBSD: pax.1,v 1.77 2023/12/09 23:00:11 jca Exp $
+.\" $OpenBSD: pax.1,v 1.78 2024/04/15 17:33:10 jca Exp $
.\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $
.\"
.\" Copyright (c) 1992 Keith Muller.
.\"
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: December 9 2023 $
+.Dd $Mdocdate: April 15 2024 $
.Dt PAX 1
.Os
.Sh NAME
for more information about device IDs.
.It Fl x Ar format
Specify the output archive format, with the default format being
-.Cm ustar .
+.Cm pax .
.Nm
currently supports the following formats:
.Bl -tag -width "sv4cpio"