Add a usage statement if an unrecognized option is given.

This commit is contained in:
Sean Eric Fagan 1993-01-24 19:07:11 +00:00
parent fab5d4e319
commit 804c13bdb1
1 changed files with 7 additions and 0 deletions

View File

@ -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++;
}