mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-12 02:17:54 -04:00
parent
7707ea538c
commit
de199c23ab
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ def SortBySpec(text):
|
|||
from .manifest import AI_HUMAN_SORT_KEYS
|
||||
for token in text.split(','):
|
||||
if token not in AI_HUMAN_SORT_KEYS:
|
||||
raise ValueError('Invalid sort key: %s' % token)
|
||||
raise argparse.ArgumentTypeError('Invalid sort key: %s' % token)
|
||||
return text.replace('timestamp', 'ts')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue