]> gitweb.factorcode.org Git - factor.git/commitdiff
kernel: fix help-lint warnings
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 6 Sep 2023 15:48:29 +0000 (08:48 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 6 Sep 2023 15:48:29 +0000 (08:48 -0700)
core/kernel/kernel-docs.factor

index 38d5f2557e15df1f4bb2880d79c6a92659ebf6e3..041391271a3dce91b06c3ac2d63a811009b3ba7c 100644 (file)
@@ -166,16 +166,16 @@ HELP: ?
 { $values { "?" boolean } { "true" object } { "false" object } { "true/false" object } }
 { $description "Chooses between two values depending on the boolean value of " { $snippet "?" } "." }
 { $examples
-    { $example  
-        "USING: prettyprint ;"
-        "3 4 < \"3 is smaller than 4\" \"3 is not smaller than 4\" ? print" 
-        "3 is smaller than 4" 
-    } 
-    { $example  
-        "USING: prettyprint ;"
-        "4 3 < \"4 is smaller than 3\" \"4 is not smaller than 3\" ? print" 
-        "4 is not smaller than 3" 
-    } 
+    { $example
+        "USING: io kernel math prettyprint ;"
+        "3 4 < \"3 is smaller than 4\" \"3 is not smaller than 4\" ? print"
+        "3 is smaller than 4"
+    }
+    { $example
+        "USING: io kernel math prettyprint ;"
+        "4 3 < \"4 is smaller than 3\" \"4 is not smaller than 3\" ? print"
+        "4 is not smaller than 3"
+    }
 } ;
 
 HELP: boolean