vpick: terminate tries output with newline
tries should be line-oriented like the other --print= modes.
Terminate its counter output with a newline to avoid glued CLI output.
Before: output bytes were 2b 32 2d 33.
After: output bytes are 2b 32 2d 33 0a.
Follow-up for: 9e61ed1115
This commit is contained in:
committed by
Yu Watanabe
parent
4443d0ec16
commit
f40aa8ea1c
@@ -301,7 +301,7 @@ static int run(int argc, char *argv[]) {
|
||||
if (result.tries_left == UINT_MAX)
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "No tries left/tries done information discovered.");
|
||||
|
||||
printf("+%u-%u", result.tries_left, result.tries_done);
|
||||
printf("+%u-%u\n", result.tries_left, result.tries_done);
|
||||
break;
|
||||
|
||||
case PRINT_ALL: {
|
||||
|
||||
Reference in New Issue
Block a user