mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Update os/link docstring.
This commit is contained in:
parent
a0d61e45d5
commit
b49b510732
@ -1343,8 +1343,9 @@ static const JanetReg os_cfuns[] = {
|
||||
{
|
||||
"os/link", os_link,
|
||||
JDOC("(os/link oldpath newpath &opt symlink)\n\n"
|
||||
"Create a symlink from oldpath to newpath, returning nil. The 3rd optional parameter "
|
||||
"enables a symlink iff truthy, hard link otherwise or if not provided. Does not work on Windows.")
|
||||
"Create a symlink from oldpath to newpath, returning nil. The third optional parameter "
|
||||
"enables a symlink iff truthy. If the third optional parameter is falsey or not "
|
||||
"provided, os/link creates a hard link. Does not work on Windows.")
|
||||
},
|
||||
{
|
||||
"os/symlink", os_symlink,
|
||||
|
Loading…
Reference in New Issue
Block a user