Sync usage() and SYNOPSIS.

This commit is contained in:
Ruslan Ermilov
2006-09-29 16:46:01 +00:00
parent 6a7c943c59
commit d20241a618
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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
+5 -1
View File
@@ -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);
} }
} }