mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-18 10:30:32 +00:00
Added ability to use --help as well as -h to show usage info
This commit is contained in:
parent
1c45f8e33c
commit
13cafbc978
@ -78,7 +78,8 @@ void Banner(int argc, char* argv[])
|
||||
FPRT(stdout,"Copyright (C) 2016-2020 GIMONS\n");
|
||||
FPRT(stdout,"Connect type : %s\n", CONNECT_DESC);
|
||||
|
||||
if (argc > 1 && strcmp(argv[1], "-h") == 0) {
|
||||
if ((argc > 1 && strcmp(argv[1], "-h") == 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…
x
Reference in New Issue
Block a user