]> gitweb.factorcode.org Git - factor.git/commitdiff
spotlight: add docs for "mdfind.".
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 18 Nov 2013 02:24:46 +0000 (18:24 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 18 Nov 2013 02:24:46 +0000 (18:24 -0800)
extra/spotlight/spotlight-docs.factor

index 01865cfe1a3b51ed7453b53444b641ec8dbddaba..e0740c33c0de89459beabfc51ebb109e6ac2d602 100644 (file)
@@ -68,8 +68,11 @@ HELP: mdfind
     "Return all files in the users home folder that have been modified in the last 3 days"
     { $code "\"~\" [ \"kMDItemFSContentChangeDate >= $time.today (-3)\" mdfind ] with-directory" }
 }
-{ $notes
-    "This word uses the " { $link current-directory } " to restrict the search, choosing to search from the root ('" { $snippet "/" } "') if not set." } ;
+{ $notes "This word uses the " { $link current-directory } " to restrict the search, choosing to search from the root ('" { $snippet "/" } "') if not set." } ;
+
+HELP: mdfind.
+{ $values { "query" string } }
+{ $description "Similar to " { $link mdfind } ", but prints out the results as a list of " { $link pathname } " objects, allowing you to right-click and \"Open File\" if used with the " { $snippet "webbrowser" } " vocabulary." } ;
 
 HELP: mdls
 { $values { "path" "string or pathname" } }