We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f045e6 commit 5a2d912Copy full SHA for 5a2d912
Sources/classdumpctl/main.m
@@ -460,7 +460,7 @@ int main(int argc, char *argv[]) {
460
[[CDClassModel modelWithClass:NSClassFromString(@"NSObject")] semanticLinesWithOptions:generationOptions];
461
[[CDProtocolModel modelWithProtocol:NSProtocolFromString(@"NSObject")] semanticLinesWithOptions:generationOptions];
462
463
- if (hasImageRequests && (outputDir == nil)) {
+ if (hasImageRequests && !hasSpecificDumpRequests && (outputDir == nil)) {
464
fprintf(stderr, "-o/--output required to dump all classes in an image\n");
465
return 1;
466
}
0 commit comments