]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/vocabs/metadata/metadata-docs.factor
minor cleanup to some docs.
[factor.git] / basis / vocabs / metadata / metadata-docs.factor
index c3dce45c09298d498239fa14b7287ad90f786f4d..f13c93379fd1a6e1d71465b9058506c80de57562 100644 (file)
@@ -45,7 +45,7 @@ ARTICLE: "vocabs.metadata" "Vocabulary metadata"
 ABOUT: "vocabs.metadata"
 
 HELP: vocab-file-contents
-{ $values { "vocab" "a vocabulary specifier" } { "name" string } { "seq" "a sequence of lines, or " { $link f } } }
+{ $values { "vocab" "a vocabulary specifier" } { "name" string } { "seq" { $maybe "a sequence of lines" } } }
 { $description "Outputs the contents of the file named " { $snippet "name" } " from the vocabulary's directory, or " { $link f } " if the file does not exist." } ;
 
 HELP: set-vocab-file-contents
@@ -53,11 +53,11 @@ HELP: set-vocab-file-contents
 { $description "Stores a sequence of lines to the file named " { $snippet "name" } " from the vocabulary's directory." } ;
 
 HELP: vocab-summary
-{ $values { "vocab" "a vocabulary specifier" } { "summary" "a string or " { $link f } } }
+{ $values { "vocab" "a vocabulary specifier" } { "summary" { $maybe string } } }
 { $description "Outputs a one-line string description of the vocabulary's intended purpose from the " { $snippet "summary.txt" } " file in the vocabulary's directory. Outputs " { $link f } " if the file does not exist." } ;
 
 HELP: set-vocab-summary
-{ $values { "string" "a string or " { $link f } } { "vocab" "a vocabulary specifier" } }
+{ $values { "string" { $maybe string } } { "vocab" "a vocabulary specifier" } }
 { $description "Stores a one-line string description of the vocabulary to the " { $snippet "summary.txt" } " file in the vocabulary's directory." } ;
 
 HELP: vocab-tags