From de12140505a59f77ec4ac2e841383972f19796bc Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 8 Jun 2014 18:08:26 -0700 Subject: [PATCH] alien.libraries.finder: fix docs. --- basis/alien/libraries/finder/finder-docs.factor | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/basis/alien/libraries/finder/finder-docs.factor b/basis/alien/libraries/finder/finder-docs.factor index babbbabf4c..598fd3d214 100644 --- a/basis/alien/libraries/finder/finder-docs.factor +++ b/basis/alien/libraries/finder/finder-docs.factor @@ -1,16 +1,22 @@ USING: help.markup help.syntax ; IN: alien.libraries.finder -HELP: find-library +HELP: find-library* { $values { "name" "a shared library name" } { "path/f" "a filesystem path or f" } } { $description "Returns a filesystem path for a plain shared library name, or f if no library can be found." +} ; + +HELP: find-library +{ $values + { "name" "a shared library name" } + { "path/library-not-found" "a filesystem path or " { $snippet "name" } } } -{ $examples - "Use " { $link find-library } " to load libraries whose exact filenames is not known in advance:" +{ $description + "Used to load libraries whose exact filenames is not known in advance:" { $code "<< \"sqlite\" \"sqlite3\" find-library cdecl add-library >>" }