Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Apr 23, 2023
1 parent 0b8320d commit ac316e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions emborg/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,13 +1338,13 @@ def run(cls, command, args, settings, options):
latest = read_latest(settings.date_file)
date = latest.get('create')
if date:
output(f" last create: {date}, {when(date)} ago")
output(f" create last run: {date}, {when(date)} ago")
date = latest.get('prune')
if date:
output(f" last prune: {date}, {when(date)} ago")
output(f" prune last run: {date}, {when(date)} ago")
date = latest.get('compact')
if date:
output(f" last compact: {date}, {when(date)} ago")
output(f" compact last run: {date}, {when(date)} ago")
except FileNotFoundError as e:
narrate(os_error(e))
except arrow.parser.ParserError as e:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-cases.nt
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,8 @@ emborg with configs:
> destination: /⟪EMBORG⟫/tests/repositories
> settings directory: /⟪EMBORG⟫/tests/.config/emborg
> logfile: /⟪EMBORG⟫/tests/.local/share/emborg/test0.log
> last backed up: .*
> last prune: .*
> create last run: .*
> prune last run: .*
> run_before_borg on test0
>
> Repository ID: \w*
Expand Down

0 comments on commit ac316e6

Please sign in to comment.