.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
.\"
-.\" Maintainer's Notes:
-.\" * For syntax help see the man pages for 'mdoc' and 'mdoc.samples'.
-.\" * To check syntax use this:
-.\" 'groff -C -mtty-char -Tutf8 -man pb-discover.8'.
-.\" * To check format use this: 'less pb-discover.8'.
-.\"
.Dd ""
.Dt pb-discover 8
.Os
.Sh SYNOPSIS
.\" ========
.Nm
+.Op Fl a, -no-autoboot
+.Op Fl h, -help
+.Op Fl l, -log Ar log-file
+.Op Fl n, -dry-run
+.Op Fl V, -version
.\"
.Sh DESCRIPTION
.\" ===========
the system. On startup, the petitboot user interface clients connect to
pb-discover daemon and receive boot option information.
.\"
+.Sh OPTIONS
+.\" =======
+.Bl -tag -width indent
+.\"
+.It Fl a, -no-autoboot
+Disable the autoboot feature.
+.\"
+.It Fl h, -help
+Print a help message.
+.\"
+.It Fl l, -log Ar log-file
+Log messages to the file
+.Ar log-file .
+The default log is a file /var/log/petitboot/pb-discover.log. New messages are
+appended to an existing log file.
+.\"
+.It Fl d, -dry-run
+Do not execute any commands. For testing.
+.\"
+.It Fl V, -version
+Display the program version number.
+.El
.Sh SEE ALSO
.\" ========
-.Xr petitboot 8 , Xr pb-cui 8 , Xr pb-event 8
+.Xr petitboot 8 , Xr petitboot-nc 8 , Xr petitboot-twin 8 , Xr pb-event 8
+.\"
+.Sh REPORTING BUGS
+.\" ==============
+Send bug reports to Geoff Levand <geoff @ infradead.org>