tools.which: adding some docs and cleanup.

db4
John Benediktsson 2013-01-11 10:20:19 -08:00
parent 8d0137e0fd
commit 00584264d5
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
! Copyright (C) 2013 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax kernel strings ;
IN: tools.which
HELP: which
{ $values { "command" string } { "file/f" "the first matching path or " { $link f } } }
{ $description "Returns the full path of the executable that would have been executed if " { $snippet "command" } " had been entered at the shell prompt." } ;