Minor fixes in address resolving.

This commit is contained in:
2026-08-21 21:57:43 +01:00
parent 9680a18e05
commit 2a903f761a
2 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ void Command::register_posix(BEd &ctx) {
.address_mode = Command::AddressMode::Single,
.suffix = Command::SuffixKind::Suffix,
.desc = "Print line number",
.accept_zero = false,
.accept_zero = true,
.handle = [](BEd &ctx, std::span<const uint64_t> addresses, std::string_view) {
if (!addresses.size())
std::cout << ctx.active->vase.lines() << std::endl;