-.\" $OpenBSD: sendbug.1,v 1.25 2015/09/09 21:23:31 schwarze Exp $
+.\" $OpenBSD: sendbug.1,v 1.26 2015/10/11 21:23:15 deraadt Exp $
.\"
.\" Written by Raymond Lai <ray@cyth.net>.
.\" Public domain.
.\"
-.Dd $Mdocdate: September 9 2015 $
+.Dd $Mdocdate: October 11 2015 $
.Dt SENDBUG 1
.Os
.Sh NAME
.Nd report a bug in OpenBSD
.Sh SYNOPSIS
.Nm
-.Op Fl DEPV
+.Op Fl DEP
.Sh DESCRIPTION
.Nm
is used to submit problem reports (PRs) to the
and write them into the current directory.
.It Fl P
Generate and print the template with system information filled out.
-.It Fl V
-Print the version number.
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
-/* $OpenBSD: sendbug.c,v 1.71 2015/10/10 20:35:01 deraadt Exp $ */
+/* $OpenBSD: sendbug.c,v 1.72 2015/10/11 21:23:15 deraadt Exp $ */
/*
* Written by Ray Lai <ray@cyth.net>.
const char *categories = "system user library documentation kernel "
"alpha amd64 arm hppa i386 m88k mips64 powerpc sh sparc sparc64 vax";
-char *version = "5.5";
const char *comment[] = {
"<synopsis of the problem (one line)>",
"<PR category (one line)>",
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-DEPV]\n", __progname);
+ fprintf(stderr, "usage: %s [-DEP]\n", __progname);
exit(1);
}
if (pledge("stdio rpath wpath cpath tmppath getpw proc exec", NULL) == -1)
err(1, "pledge");
- while ((ch = getopt(argc, argv, "DEPV")) != -1)
+ while ((ch = getopt(argc, argv, "DEP")) != -1)
switch (ch) {
case 'D':
Dflag = 1;
case 'P':
Pflag = 1;
break;
- case 'V':
- printf("%s\n", version);
- exit(0);
default:
usage();
}