summaryrefslogtreecommitdiff
path: root/diff.py
diff options
context:
space:
mode:
authorErin Moon <erin@hecke.rs>2021-01-04 21:05:42 -0600
committerGitHub <noreply@github.com>2021-01-04 22:05:42 -0500
commit65dbd7e0880c8307043aceb64f128e0ee53d7bec (patch)
tree6851d32ddf8ac2efcf19c74a96a16beb1cde9e33 /diff.py
parentb9ef1d7f4a3b0b59f667c32449a177316cd85727 (diff)
diff.py: fix --lhs-name option (#67)
Diffstat (limited to 'diff.py')
-rw-r--r--diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.py b/diff.py
index ff127cb948..00648d143f 100644
--- a/diff.py
+++ b/diff.py
@@ -576,7 +576,7 @@ def dump_objfile() -> Tuple[str, ObjdumpCommand, ObjdumpCommand]:
objdump_flags = ["-drz"]
return (
objfile,
- (objdump_flags, refobjfile, args.start),
+ (objdump_flags, refobjfile, args.lhs_name or args.start),
(objdump_flags + maybe_get_objdump_source_flags(), objfile, args.start),
)