Merge pull request #1006 from KatieFrogs/cli-json-fixes

Cli: Json output fixes
This commit is contained in:
bnnm 2021-11-05 16:31:08 +01:00 committed by GitHub
commit cc5d76cf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,6 @@ static int parse_config(cli_config* cfg, int argc, char** argv) {
print_json_version();
goto fail;
case 'I':
cfg->print_metaonly = 1;
cfg->print_metajson = 1;
break;
#endif
@ -796,6 +795,7 @@ static int convert_file(cli_config* cfg) {
}
else {
print_json_info(vgmstream, cfg);
printf("\n");
}
#endif