Sync usage() and SYNOPSIS.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
.Nm
|
.Nm
|
||||||
.Op Fl rv
|
.Op Fl rv
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl u
|
.Fl u
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "devinfo.h"
|
#include "devinfo.h"
|
||||||
|
|
||||||
@@ -208,7 +209,10 @@ main(int argc, char *argv[])
|
|||||||
vflag++;
|
vflag++;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
errx(1, "usage: %s [-ruv]", argv[0]);
|
fprintf(stderr, "%s\n%s\n",
|
||||||
|
"usage: devinfo [-rv]",
|
||||||
|
" devinfo -u");
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user