mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 17:23:35 +00:00
Make manpage's SYNOPSIS match program's usage().
Submitted by: Alexander Best (manpage)
This commit is contained in:
parent
9dcae110dc
commit
a66d183c7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203799
@ -32,7 +32,7 @@
|
||||
.Nd "Convert ELF binary to a.out format"
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl o outfile
|
||||
.Op Fl o Ar outfile
|
||||
.Ar infile
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -35,6 +35,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <err.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@ -155,5 +157,6 @@ static void
|
||||
usage(void)
|
||||
{
|
||||
|
||||
errx(1, "usage: elf2aout [-o outfile] infile");
|
||||
fprintf(stderr, "usage: elf2aout [-o outfile] infile\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user