]> gitweb.factorcode.org Git - factor.git/blob - basis/tools/which/which-docs.factor
factor: trim more using lists.
[factor.git] / basis / tools / which / which-docs.factor
1 ! Copyright (C) 2013 John Benediktsson.
2 ! See http://factorcode.org/license.txt for BSD license.
3
4 USING: help.markup help.syntax strings ;
5
6 IN: tools.which
7
8 HELP: which
9 { $values { "command" string } { "file/f" "the first matching path or " { $link f } } }
10 { $description "Returns the full path of the executable that would have been executed if " { $snippet "command" } " had been entered at the shell prompt." } ;