tools.which: adding some docs and cleanup.
parent
8d0137e0fd
commit
00584264d5
|
@ -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." } ;
|
Loading…
Reference in New Issue