diff --git a/src/main.zig b/src/main.zig index e6a7fdb..ddfc3c2 100644 --- a/src/main.zig +++ b/src/main.zig @@ -21,7 +21,7 @@ const usage = \\-d, --dynamic Display the dynamic section (if present) \\--initializers Display table(s) of initializers/finalizers (if present) \\-p, --string-dump= Dump the contents of section as strings - \\-V, --version-info Display the version sections (if present) + \\-V, --version, --version-info Display the version sections (if present) \\-W, --wide Do not shorten the names if too wide \\-x, --hex-dump= Dump the contents of section as bytes \\--help Display this help and exit @@ -181,7 +181,7 @@ pub fn main(init: std.process.Init) anyerror!void { print_matrix.dynamic_section = true; } else if (p.flag2("initializers")) { print_matrix.initializers = true; - } else if (p.flag2("version-info")) { + } else if (p.flag2("version-info") or p.flag2("version")) { print_matrix.version_sections = true; } else if (p.flag2("archive-index")) { print_matrix.archive_index = true;