From c355ccf67385d90970d9c7c913746cf856c216b9 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 30 Dec 2021 20:57:13 +0100 Subject: Rephrase docstring in tmv --- patternutils/commands/tmv.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patternutils/commands/tmv.py b/patternutils/commands/tmv.py index 1c61b67..fa7105e 100644 --- a/patternutils/commands/tmv.py +++ b/patternutils/commands/tmv.py @@ -92,11 +92,11 @@ def tmv( """Rename files based on the OUTPUT_PATTERN. - It reads a JSON list containing objects or a stream of objects - (if --stream option is defined). The object needs to have a - key named as the option KEY (default: _abspath), which points - to the file to move. The rest of the keys will be supplied to - the templating engine to generate the new filename. + It reads in a JSON list containing objects or a stream of objects (if the + --stream option is used). The object needs to contain a key, named as + the specified option KEY (default: _abspath), which points to the file to + be moved. The rest of the keys will be supplied to the templating engine to + generate the new filename. """ if stream: -- cgit v1.3.1