| ... | @@ -66,7 +66,7 @@ pub fn cmdObjCopy( | ... | @@ -66,7 +66,7 @@ pub fn cmdObjCopy( |
| 66 | } else if (mem.eql(u8, arg, "--listen=-")) { | 66 | } else if (mem.eql(u8, arg, "--listen=-")) { |
| 67 | listen = true; | 67 | listen = true; |
| 68 | } else if (mem.startsWith(u8, arg, "--only-section=")) { | 68 | } else if (mem.startsWith(u8, arg, "--only-section=")) { |
| 69 | only_section = arg["--output-target=".len..]; | 69 | only_section = arg["--only-section=".len..]; |
| 70 | } else if (mem.eql(u8, arg, "--pad-to")) { | 70 | } else if (mem.eql(u8, arg, "--pad-to")) { |
| 71 | i += 1; | 71 | i += 1; |
| 72 | if (i >= args.len) fatal("expected another argument after '{s}'", .{arg}); | 72 | if (i >= args.len) fatal("expected another argument after '{s}'", .{arg}); |