Added ability to use --help as well as -h to show usage info

This commit is contained in:
akuker 2020-07-09 13:33:57 -05:00
parent 13cafbc978
commit bd70788512
1 changed files with 1 additions and 1 deletions

View File

@ -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");