From b9ffb0d8de0b387e9340717a82ea58be6b7143a6 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Fri, 24 Dec 2021 18:08:18 -0800 Subject: [PATCH] Fixed helped text, #493 --- osxphotos/cli_help.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osxphotos/cli_help.py b/osxphotos/cli_help.py index efd2b566..8ac8a9d6 100644 --- a/osxphotos/cli_help.py +++ b/osxphotos/cli_help.py @@ -224,13 +224,13 @@ The following attributes may be used with '--xattr-template': ) formatter.write("\n") formatter.write( - '--post-command new "echo {filepath.name|shell_quote} >> {shell_quote,{export_dir}/exported.txt}"' + '--post-command new "echo {filepath|shell_quote} >> {shell_quote,{export_dir}/exported.txt}"' ) formatter.write("\n\n") formatter.write_text( - "In the above command, the 'shell_quote' filter is used to ensure '{filepath.name}' is properly quoted " + "In the above command, the 'shell_quote' filter is used to ensure '{filepath}' is properly quoted " + "and the '{shell_quote}' template ensures the constructed path of '{exported_dir}/exported.txt' is properly quoted. " - "If '{filepath.name}' is 'IMG 1234.jpeg' and '{export_dir}' is '/Volumes/Photo Export', the command " + "If '{filepath}' is 'IMG 1234.jpeg' and '{export_dir}' is '/Volumes/Photo Export', the command " "thus renders to: " ) formatter.write("\n")