print final verbose update (Lou Kamenov)
diff --git a/src/cmd/hget.c b/src/cmd/hget.c index d78bb52..5c6ee80 100644 --- a/src/cmd/hget.c +++ b/src/cmd/hget.c
@@ -532,7 +532,7 @@ if(output(out, buf, n) != n) break; tot += n; - if(verbose && vtime != time(0)) { + if(verbose && (vtime != time(0) || r->start == r->end)) { vtime = time(0); fprint(2, "%ld %ld\n", r->start+tot, r->end); } @@ -1226,7 +1226,7 @@ if(output(out, buf, i) != i) return Error; r->start += i; - if(verbose && vtime != time(0)) { + if(verbose && (vtime != time(0) || r->start == r->end)) { vtime = time(0); fprint(2, "%ld %ld\n", r->start, r->end); }