projects
/
binutils-gdb.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 6994d8f5cb6f4585248b8ce5c00fc1fd219ff9a5..169e2ec5abb0eb8dcac2d2dcd7ea9506ba04b4c1 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++;
}