Fixed documentation error
This commit is contained in:
@@ -276,7 +276,7 @@ rendered name, use double braces, e.g. '{{' or '}}', thus using
|
|||||||
You may specify an optional default value to use if the substitution does not
|
You may specify an optional default value to use if the substitution does not
|
||||||
contain a value (e.g. the value is null) by specifying the default value after
|
contain a value (e.g. the value is null) by specifying the default value after
|
||||||
a ',' in the template string: for example, if template is
|
a ',' in the template string: for example, if template is
|
||||||
'{created.year}/{place.address,'NO_ADDRESS'}' but there was no address
|
'{created.year}/{place.address,NO_ADDRESS}' but there was no address
|
||||||
associated with the photo, the resulting output would be:
|
associated with the photo, the resulting output would be:
|
||||||
'2020/NO_ADDRESS/photoname.jpg'. If specified, the default value may not
|
'2020/NO_ADDRESS/photoname.jpg'. If specified, the default value may not
|
||||||
contain a brace symbol ('{' or '}').
|
contain a brace symbol ('{' or '}').
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class ExportCommand(click.Command):
|
|||||||
"You may specify an optional default value to use if the substitution does not contain a value "
|
"You may specify an optional default value to use if the substitution does not contain a value "
|
||||||
+ "(e.g. the value is null) "
|
+ "(e.g. the value is null) "
|
||||||
+ "by specifying the default value after a ',' in the template string: "
|
+ "by specifying the default value after a ',' in the template string: "
|
||||||
+ "for example, if template is '{created.year}/{place.address,'NO_ADDRESS'}' "
|
+ "for example, if template is '{created.year}/{place.address,NO_ADDRESS}' "
|
||||||
+ "but there was no address associated with the photo, the resulting output would be: "
|
+ "but there was no address associated with the photo, the resulting output would be: "
|
||||||
+ "'2020/NO_ADDRESS/photoname.jpg'. "
|
+ "'2020/NO_ADDRESS/photoname.jpg'. "
|
||||||
+ "If specified, the default value may not contain a brace symbol ('{' or '}')."
|
+ "If specified, the default value may not contain a brace symbol ('{' or '}')."
|
||||||
|
|||||||
Reference in New Issue
Block a user