mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Add a usage statement if an unrecognized option is given.
This commit is contained in:
parent
fab5d4e319
commit
804c13bdb1
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user