Skip to content

Commit 7be6fcd

Browse files
Merge pull request #9412 from ThomasWaldmann/fix-env-var-names
rename BORG_RLIST_FORMAT to BORG_REPO_LIST_FORMAT, #9411
2 parents 2951a64 + 0b05b44 commit 7be6fcd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/usage/general/environment.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ General:
138138

139139
Output formatting:
140140
BORG_LIST_FORMAT
141-
Giving the default value for ``borg repo-list --format=X``.
142-
BORG_RLIST_FORMAT
141+
Giving the default value for ``borg list --format=X``.
142+
BORG_REPO_LIST_FORMAT
143143
Giving the default value for ``borg repo-list --format=X``.
144144
BORG_PRUNE_FORMAT
145145
Giving the default value for ``borg prune --format=X``.

src/borg/archiver/repo_list_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def do_repo_list(self, args, repository, manifest):
2323
format = "{id}{NL}"
2424
else:
2525
format = os.environ.get(
26-
"BORG_RLIST_FORMAT",
26+
"BORG_REPO_LIST_FORMAT",
2727
"{id:.8} {time} {archive:<15} {tags:<10} {username:<10} {hostname:<10} {comment:.40}{NL}",
2828
)
2929
formatter = ArchiveFormatter(format, repository, manifest, manifest.key, iec=args.iec, deleted=args.deleted)

0 commit comments

Comments
 (0)