chiark
/
gitweb
/
~mdw
/
rsync-backup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d293550
)
fshash.in: Forcibly reify output of `dict.keys'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Jun 2024 03:26:36 +0000
(
04:26
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 9 Jun 2024 11:10:59 +0000
(12:10 +0100)
fshash.in
patch
|
blob
|
blame
|
history
diff --git
a/fshash.in
b/fshash.in
index 3d57292c9cf1f8d6ff856ebdb95ad03e04f7cb57..ad6ff58bf8c447a30d6b4bc645dc299ac22cb654 100644
(file)
--- a/
fshash.in
+++ b/
fshash.in
@@
-590,7
+590,7
@@
for short, long, props in [
('-c', '--cache', { 'dest': 'cache', 'metavar': 'FILE',
'help': 'use FILE as a cache for file hashes' }),
('-f', '--files', { 'dest': 'files', 'metavar': 'FORMAT',
- 'type': 'choice', 'choices':
FMTMAP.keys(
),
+ 'type': 'choice', 'choices':
list(FMTMAP.keys()
),
'help': 'read files to report in the given FORMAT' }),
('-u', '--udiff', { 'action': 'store_true', 'dest': 'udiff',
'help': 'read diff from stdin, clear cache entries' }),