From e097f3aad546b5be5eabab529bd2c35ce3056876 Mon Sep 17 00:00:00 2001 From: finestream Date: Wed, 16 Dec 2020 21:25:52 +0100 Subject: [PATCH] Update __main__.py Possible fix of Issue RhetTbull/osxphotos#293 --- osxphotos/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osxphotos/__main__.py b/osxphotos/__main__.py index b26cd84f..714dc9d6 100644 --- a/osxphotos/__main__.py +++ b/osxphotos/__main__.py @@ -174,6 +174,10 @@ which will be rendered to substitute template fields with values from the photo. For example, '{created.month}' would be replaced with the month name of the photo creation date. e.g. 'November'. \n +Options supporting templates may be repeated e.g., --keyword-template '{label}' +--keyword-template '{media_type}' to add both labels and media types to the +keywords. +\n The general format for a template is '{TEMPLATE_FIELD[,[DEFAULT]]}'. Some templates have optional modifiers in form '{[[DELIM]+]TEMPLATE_FIELD[(PATH_SEP)][?VALUE_IF_TRUE][,[DEFAULT]]}'