Rather than setting an option flag for ratio, add it to the default format string on the "out" side (#67).

This commit is contained in:
Andrew Wood
2026-04-03 20:20:50 +01:00
parent d7327aaf95
commit 7892e54d7e
4 changed files with 23 additions and 7 deletions
-2
View File
@@ -1290,8 +1290,6 @@ opts_t opts_parse(unsigned int argc, char **argv)
opts->eta = true;
opts->rate = true;
opts->bytes = true;
if (PV_SIDE_BOTH == opts->side)
opts->ratio = true;
}
/* If -Z was given but not -E, pretend one -E was given too. */