diff options
author | John Polstra <jdp@FreeBSD.org> | 1998-10-24 02:01:30 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1998-10-24 02:01:30 +0000 |
commit | 5dd2c9588142110efe17ea76d5a16c429919445f (patch) | |
tree | 4b3961866d22d959a0d0b56775cc2f865e586a66 /usr.bin/objformat | |
parent | 9b5f8ffdc60dd552d15b3daf2f09f8ac3981752e (diff) | |
download | src-test2-5dd2c9588142110efe17ea76d5a16c429919445f.tar.gz src-test2-5dd2c9588142110efe17ea76d5a16c429919445f.zip |
Notes
Diffstat (limited to 'usr.bin/objformat')
-rw-r--r-- | usr.bin/objformat/objformat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/objformat/objformat.c b/usr.bin/objformat/objformat.c index 32ed3859081f..8d75f5ea64ae 100644 --- a/usr.bin/objformat/objformat.c +++ b/usr.bin/objformat/objformat.c @@ -51,6 +51,10 @@ main(int argc, char **argv) cmd = argv[0]; if (strcmp(cmd, "objformat") == 0) { + if (argc != 1) { + fprintf(stderr, "Usage: objformat\n"); + exit(1); + } printf("%s\n", objformat); exit(0); } |