206c206
< 		   if (strcasestr(ret, "ok") != NULL) {
---
> 		   if (strstr(ret, "ok") != NULL) {
229c229
< 	pthread_t th[13];
---
> 	pthread_t th[65];
234c234
< 	(void) pthread_create(&th[12], NULL, status_thread, NULL);
---
> 	(void) pthread_create(&th[64], NULL, status_thread, NULL);
238c238
< 	(void) pthread_join(th[12], NULL);
---
> 	(void) pthread_join(th[64], NULL);
253,254c253,254
< 		printf("USAGE: rarcrack encrypted_archive.ext [--threads NUM] [--type rar|zip|7z]\n");
< 		printf("       For more information please run \"rarcrack --help\"\n");
---
> 		printf("USAGE: rarcrack encrypted_archive.ext --type rar|zip|7z [--threads NUM]\n");
> 		printf("       For more detailed information please run \"rarcrack --help\"\n");
259c259
< 				printf("Usage:   rarcrack encrypted_archive.ext [--threads NUM] [--type rar|zip|7z]\n\n");
---
> 				printf("Usage:   rarcrack encrypted_archive.ext --type rar|zip|7z [--threads NUM]\n\n");
261,262c261
< 				printf("         --type: you can specify the archive program, this needed when\n");
< 				printf("                 the program couldn't detect the proper file type\n");
---
> 				printf("         --type: you can specify the archive program, this is always needed\n");
264c263
< 				printf("                    will be run, maximum 12 (default: 2)\n\n");
---
> 				printf("                    will be run, maximum 64 (default: 2)\n\n");
266d264
< 				printf("         RarCrack! usually detects the archive type.\n\n");
273,275c271,273
< 					if (threads > 12) {
< 						printf("INFO: number of threads adjusted to 12\n");
< 						threads = 12;
---
> 					if (threads > 64) {
> 						printf("INFO: number of threads adjusted to 64\n");
> 						threads = 64;
314a313,315
> 		// Work around on cygwin (M$ Windows) = disable dectection because file.exe does not exist on windows
> 		printf("ERROR: You must specify the type of archive with --type rar/zip/7z!\n");
> 		/*
326a328
> 		*/
