-.\" $OpenBSD: dump.8,v 1.54 2019/12/19 09:38:03 bentley Exp $
+.\" $OpenBSD: dump.8,v 1.55 2022/06/02 15:35:55 millert Exp $
.\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)dump.8 8.1 (Berkeley) 6/16/93
.\"
-.Dd $Mdocdate: December 19 2019 $
+.Dd $Mdocdate: June 2 2022 $
.Dt DUMP 8
.Os
.Sh NAME
is ignored, the only dump level that is supported is
.Fl 0 ,
and all of the files must reside on the same filesystem.
+If no options are specified, the first of the
+.Ar files-to-dump
+must contain a
+.Ql /
+character to prevent it from being interpreted as a
+.Bx 4.3
+option string.
.Pp
.Nm
requires operator intervention on these conditions:
-/* $OpenBSD: main.c,v 1.62 2021/01/21 00:16:36 mortimer Exp $ */
+/* $OpenBSD: main.c,v 1.63 2022/06/02 15:35:55 millert Exp $ */
/* $NetBSD: main.c,v 1.14 1997/06/05 11:13:24 lukem Exp $ */
/*-
argv = *argvp;
argc = *argcp;
- /* Return if no arguments or first argument has leading dash. */
+ /* Return if no args or first argument has leading dash or a slash. */
ap = argv[1];
- if (argc == 1 || *ap == '-')
+ if (argc == 1 || *ap == '-' || strchr(ap, '/') != NULL)
return;
/* Allocate space for new arguments. */