diff options
author | mikeh <mikeh@FreeBSD.org> | 2001-08-15 21:25:50 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2001-08-15 21:25:50 +0000 |
commit | 3682fdb5a95737599e5991370e298b67840538d4 (patch) | |
tree | af1f7884aaba767930f251f392eeb285bbd5365e /usr.bin/gcore | |
parent | b088bbf8635a9e31a5f025bf97ab3011a17fc453 (diff) | |
download | FreeBSD-src-3682fdb5a95737599e5991370e298b67840538d4.zip FreeBSD-src-3682fdb5a95737599e5991370e298b67840538d4.tar.gz |
Fix usage message, the executable is optional.
PR: bin/29735
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r-- | usr.bin/gcore/aoutcore.c | 2 | ||||
-rw-r--r-- | usr.bin/gcore/gcore.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c index 3eb5a19..c61bad8 100644 --- a/usr.bin/gcore/aoutcore.c +++ b/usr.bin/gcore/aoutcore.c @@ -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); } diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c index 3eb5a19..c61bad8 100644 --- a/usr.bin/gcore/gcore.c +++ b/usr.bin/gcore/gcore.c @@ -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); } |