Skip to content

Commit 8e0bf9e

Browse files
committed
Corrected names in documentation of 'find_image_by_id'.
1 parent daee82a commit 8e0bf9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dtutils.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ end
286286
dtutils.libdoc.functions["find_image_by_id"] = {
287287
Name = [[find_image_by_id]],
288288
Synopsis = [[look up an image by ID in the database]],
289-
Usage = [[local db = require "lib/dtutils.db"
290-
local img = db.find_image_by_id(imgid)
289+
Usage = [[local du = require "lib/dtutils"
290+
local img = du.find_image_by_id(imgid)
291291
id - int - the ID to look up
292292
]],
293293
Description = [[find_image_by_id looks up an image by ID in the database.]],

0 commit comments

Comments
 (0)