Fix usage message, the executable is optional.
PR: bin/29735 MFC after: 2 weeks
This commit is contained in:
parent
13e7108c06
commit
327a1d9ddb
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user