Skip to content

Commit fecbb39

Browse files
committed
lib/dtutils/string - more embedded doc updates
1 parent dcbe575 commit fecbb39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dtutils/string.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ end
10291029

10301030
dtutils_string.libdoc.functions["substitute"] = {
10311031
Name = [[substitute]],
1032-
Synopsis = [[Check if a string has been sanitized]],
1032+
Synopsis = [[Perform all the variable substitution steps with one function call]],
10331033
Usage = [[local ds = require "lib/dtutils.string"
10341034
ds.substitute(image, sequence, variable_string, [username], [pic_folder], [home], [desktop])
10351035
image - dt_lua_image_t - the image being processed
@@ -1040,7 +1040,7 @@ dtutils_string.libdoc.functions["substitute"] = {
10401040
[home] - string - optional - home directory. Will be determined if not supplied
10411041
[desktop] - string - optional - desktop directory. Will be determined if not supplied]],
10421042
Description = [[substitute initializes the substitution list by calling clear_substitute_list(),
1043-
then builds the substitutions by calling build_substitution_list() and finally does the
1043+
then builds the substitutions by calling build_substitute_list() and finally does the
10441044
substitution by calling substitute_list(), then returns the result string.]],
10451045
Return_Value = [[result - string - the input string with values substituted for the variables]],
10461046
Limitations = [[]],

0 commit comments

Comments
 (0)