Permalink
Browse files

Adjust wget help file

  • Loading branch information...
Luca0208 committed Apr 5, 2018
1 parent 67448f1 commit 7a4dac31059d33a7225d70d2538ee34ed81d9273
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/resources/assets/computercraft/lua/rom/help/wget.txt
@@ -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.