Skip to content

Commit

Permalink
Make manpage's SYNOPSIS match program's usage().
Browse files Browse the repository at this point in the history
Submitted by:	Alexander Best (manpage)
  • Loading branch information
Ruslan Ermilov authored and Ruslan Ermilov committed Feb 12, 2010
1 parent 9dcae11 commit a66d183
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion usr.bin/elf2aout/elf2aout.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion usr.bin/elf2aout/elf2aout.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ __FBSDID("$FreeBSD$");

#include <err.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Expand Down Expand Up @@ -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);
}

0 comments on commit a66d183

Please sign in to comment.