From 24dfa1ebdc581c939bf750451743f1705eb037e5 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Thu, 7 Apr 2022 04:51:37 +0900 Subject: [PATCH] Fix an option typo in error message (#22) Thanks @euler0 --- dsdump/XRMachOLibrary.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsdump/XRMachOLibrary.mm b/dsdump/XRMachOLibrary.mm index 80ad065..c375985 100644 --- a/dsdump/XRMachOLibrary.mm +++ b/dsdump/XRMachOLibrary.mm @@ -353,7 +353,7 @@ - (instancetype)initWithPath:(NSString*)path { } else if (magic == FAT_MAGIC || magic == FAT_CIGAM) { // Could only have gotten here if --arch is not specified dprintf(STDERR_FILENO, "%sMultiple arches found: %s%s\n", dcolor(DSCOLOR_RED), [self printAllArchitectures].UTF8String, color_end()); - dprintf(STDERR_FILENO, "%sUse --arches (-a) (or ARCH env var) to specify arch%s\n", dcolor(DSCOLOR_RED), color_end()); + dprintf(STDERR_FILENO, "%sUse --arch (-a) (or ARCH env var) to specify arch%s\n", dcolor(DSCOLOR_RED), color_end()); exit(1); } else if (magic == FAT_MAGIC_64 || magic == FAT_CIGAM_64) { printf("FAT MAGIC 64 headers not implemented... tell Derek what module is using this\n");