Fix usage message, the executable is optional.

PR:		bin/29735
MFC after:	2 weeks
This commit is contained in:
Mike Heffner 2001-08-15 21:25:50 +00:00
parent 13e7108c06
commit 327a1d9ddb
2 changed files with 2 additions and 2 deletions

View File

@ -333,6 +333,6 @@ userdump(fd, kp, addr, npage)
void
usage()
{
(void)fprintf(stderr, "usage: gcore [-s] [-c core] executable pid\n");
(void)fprintf(stderr, "usage: gcore [-s] [-c core] [executable] pid\n");
exit(1);
}

View File

@ -333,6 +333,6 @@ userdump(fd, kp, addr, npage)
void
usage()
{
(void)fprintf(stderr, "usage: gcore [-s] [-c core] executable pid\n");
(void)fprintf(stderr, "usage: gcore [-s] [-c core] [executable] pid\n");
exit(1);
}