Skip to content

Commit

Permalink
Run output of log command through pager; update copyright date.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Jan 1, 2022
1 parent d0813ca commit 94a595f
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions doc/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ explicitly specify a particular archive. For example:
$ emborg extract --archive continuum-2020-12-05T12:54:26 home/shaunte/bin
Alternatively you can specify a date or date and time. If only the date is
given the time is taken to be midnight. The oldest archive that is
younger than specified date and time is used. For example:
given the time is taken to be midnight. The oldest archive that is younger than
specified date and time is used. For example:

.. code-block:: bash
Expand Down Expand Up @@ -480,7 +480,7 @@ You can explicitly specify an archive:
$ emborg manifest --archive continuum-2021-04-01T12:19:58
Or you choose an archive based on a date and time. The oldest archive that is
Or you choose an archive based on a date and time. The oldest archive that is
younger than specified date and time is used.

.. code-block:: bash
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

# General information about the project.
project = u'emborg'
copyright = u'2018-2021, Ken Kundert'
copyright = u'2018-2022, Ken Kundert'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
2 changes: 1 addition & 1 deletion emborg/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# than for large collections.

# License {{{1
# Copyright (C) 2016-2021 Kenneth S. Kundert
# Copyright (C) 2016-2022 Kenneth S. Kundert
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions emborg/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from time import sleep
from .collection import Collection
from .preferences import BORG_SETTINGS, DEFAULT_COMMAND, EMBORG_SETTINGS, PROGRAM_NAME
from .utilities import gethostname, two_columns
from .utilities import gethostname, pager, two_columns


# Utilities {{{1
Expand Down Expand Up @@ -1273,7 +1273,7 @@ def run(cls, command, args, settings, options):
docopt(cls.USAGE, argv=[command] + args)

try:
output(settings.logfile.read_text())
pager(settings.logfile.read_text())
except FileNotFoundError as e:
narrate(os_error(e))

Expand Down
2 changes: 1 addition & 1 deletion emborg/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Output a help topic.

# License {{{1
# Copyright (C) 2018-2021 Kenneth S. Kundert
# Copyright (C) 2018-2022 Kenneth S. Kundert
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion emborg/patterns.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Patterns and Excludes

# License {{{1
# Copyright (C) 2018-2021 Kenneth S. Kundert
# Copyright (C) 2018-2022 Kenneth S. Kundert
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion emborg/preferences.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Emborg Settings
#
# Copyright (C) 2018-2021 Kenneth S. Kundert
# Copyright (C) 2018-2022 Kenneth S. Kundert

# License {{{1
# This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion emborg/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Package for reading and writing Python files.

# License {{{1
# Copyright (C) 2018-2021 Kenneth S. Kundert
# Copyright (C) 2018-2022 Kenneth S. Kundert
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion emborg/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Settings

# License {{{1
# Copyright (C) 2018-2021 Kenneth S. Kundert
# Copyright (C) 2018-2022 Kenneth S. Kundert
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit 94a595f

Please sign in to comment.