Skip to content

Commit 47a6afa

Browse files
committed
Union current and parent tli for show command.
1 parent 6c94ea7 commit 47a6afa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

show.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ show_backup_list(FILE *out, parray *backup_list)
166166

167167
/* show header */
168168
fputs("=========================================================================================\n", out);
169-
fputs("ID Recovery time Mode Current TLI Parent TLI Time Data Status \n", out);
169+
fputs("ID Recovery time Mode Current/Parent TLI Time Data Status \n", out);
170170
fputs("=========================================================================================\n", out);
171171

172172
for (i = 0; i < parray_num(backup_list); i++)
@@ -196,7 +196,7 @@ show_backup_list(FILE *out, parray *backup_list)
196196
/* Get parent timeline before printing */
197197
parent_tli = get_parent_tli(backup->tli);
198198

199-
fprintf(out, "%-8s %-19s %-12s %10d %10d %5s %6s %s \n",
199+
fprintf(out, "%-8s %-19s %-12s %2d /%2d %5s %6s %s \n",
200200
base36enc(backup->start_time),
201201
timestamp,
202202
modes[backup->backup_mode*(backup->stream+1)],

0 commit comments

Comments
 (0)