mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
Added ability to use --help as well as -h to show usage info
This commit is contained in:
parent
13cafbc978
commit
bd70788512
|
@ -79,7 +79,7 @@ void Banner(int argc, char* argv[])
|
|||
FPRT(stdout,"Connect type : %s\n", CONNECT_DESC);
|
||||
|
||||
if ((argc > 1 && strcmp(argv[1], "-h") == 0) ||
|
||||
(argc > 1 && strcmp(argv[1], "--help") == 0){
|
||||
(argc > 1 && strcmp(argv[1], "--help") == 0)){
|
||||
FPRT(stdout,"\n");
|
||||
FPRT(stdout,"Usage: %s [-IDn FILE] ...\n\n", argv[0]);
|
||||
FPRT(stdout," n is SCSI identification number(0-7).\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user