Skip to content

Commit

Permalink
Adjust wget help file
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca0208 committed Apr 5, 2018
1 parent 67448f1 commit 7a4dac3
Showing 1 changed file with 3 additions and 1 deletion.
@@ -1,5 +1,7 @@
wget is a program for downloading files from the internet. This is useful for downloading programs created by other players.
If no filename is specified wget will try to determine the filename from the URL by stripping any anchors, parameters and trailing slashes and then taking everything remaining after the last slash.
The HTTP API must be enabled in ComputerCraft.cfg to use this program.

ex:
"wget http://pastebin.com/raw/CxaWmPrX test" will download the file from the URL http://pastebin.com/raw/CxaWmPrX, and save it as "test".
"wget http://example.org/test.lua/?foo=bar#qzu" will download the file from the URL http://example.org/test.lua/?foo=bar#qzu and save it as "test.lua"
"wget http://example.org/" will download the file from the URL http://example.org and save it as "example.org"

0 comments on commit 7a4dac3

Please sign in to comment.