projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab5d4e
)
Add a usage statement if an unrecognized option is given.
author
Sean Eric Fagan
<sef@cygnus>
Sun, 24 Jan 1993 19:07:11 +0000
(19:07 +0000)
committer
Sean Eric Fagan
<sef@cygnus>
Sun, 24 Jan 1993 19:07:11 +0000
(19:07 +0000)
gprof/gprof.c
patch
|
blob
|
history
diff --git
a/gprof/gprof.c
b/gprof/gprof.c
index
6994d8f
..
169e2ec
100644
(file)
--- a/
gprof/gprof.c
+++ b/
gprof/gprof.c
@@
-111,6
+111,13
@@
main(argc, argv)
case 'z':
zflag = TRUE;
break;
+ default:
+ fprintf (stderr, "usage: gproff [-a] [-b] [-c] [-d[num]] \
+[-E function-name] [-e function-name] \
+[-F function-name] [-f function-name] \
+[-k from to] [-s] [-T] [-z] [image-file] \
+[profile file]\n");
+ exit (1);
}
argv++;
}