If no display options are passed and "-M both" is active, set a "ratio" option flag to display the in:out ratio as well (#67).
This commit is contained in:
+2
-1
@@ -1290,7 +1290,8 @@ opts_t opts_parse(unsigned int argc, char **argv)
|
||||
opts->eta = true;
|
||||
opts->rate = true;
|
||||
opts->bytes = true;
|
||||
/* TODO: add ratio format if "-M both" */
|
||||
if (PV_SIDE_BOTH == opts->side)
|
||||
opts->ratio = true;
|
||||
}
|
||||
|
||||
/* If -Z was given but not -E, pretend one -E was given too. */
|
||||
|
||||
Reference in New Issue
Block a user