Remove unused option characters

This commit is contained in:
Tiiffi
2019-12-18 19:34:08 +02:00
parent fcc9d6d09b
commit 0c48fbb847

View File

@ -182,18 +182,14 @@ int main(int argc, char *argv[])
puts("Try 'mcrcon -h' or 'man mcrcon' for help.\n"); puts("Try 'mcrcon -h' or 'man mcrcon' for help.\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
case 'H': host = optarg; break; case 'H': host = optarg; break;
case 'P': port = optarg; break; case 'P': port = optarg; break;
case 'p': pass = optarg; break; case 'p': pass = optarg; break;
case 'C': case 'c': global_disable_colors = 1; break;
case 'c': global_disable_colors = 1; break; case 's': global_silent_mode = 1; break;
case 'S': case 'i':
case 's': global_silent_mode = 1; break; case 't': terminal_mode = 1; break;
case 'T': case 'r': global_raw_output = 1; break;
case 't':
case 'I':
case 'i': terminal_mode = 1; break;
case 'r': global_raw_output = 1; break;
case 'w': case 'w':
global_wait_seconds = mcrcon_parse_seconds(optarg); global_wait_seconds = mcrcon_parse_seconds(optarg);
break; break;