We can now specify directly file path for acsmdownloader and adept_remove (-f stille keeped for compatibility)
This commit is contained in:
		| @@ -290,6 +290,9 @@ int main(int argc, char** argv) | ||||
|     | ||||
|     gourou::DRMProcessor::setLogLevel(verbose); | ||||
|  | ||||
|     if (optind == argc-1) | ||||
| 	acsmFile = argv[optind]; | ||||
|  | ||||
|     if ((!acsmFile && !exportPrivateKey) || (outputDir && !outputDir[0]) || | ||||
| 	(outputFile && !outputFile[0])) | ||||
|     { | ||||
|   | ||||
| @@ -243,6 +243,9 @@ int main(int argc, char** argv) | ||||
|     | ||||
|     gourou::DRMProcessor::setLogLevel(verbose); | ||||
|  | ||||
|     if (optind == argc-1) | ||||
| 	inputFile = argv[optind]; | ||||
|  | ||||
|     if (!inputFile || (outputDir && !outputDir[0]) || | ||||
| 	(outputFile && !outputFile[0])) | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user