From 9e0cae911366f6eba9e9f3707384ca8ade0280a3 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 1 Jun 2016 22:44:22 +1000 Subject: [PATCH] README: Improve the cmd/torrent doc --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 559c1a17..ee0df632 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,12 @@ Note that the [`godo`](https://github.com/anacrolix/godo) command which is invok ### torrent -Downloads torrents from the command-line. +Downloads torrents from the command-line. This first example does not use `godo`. $ go get github.com/anacrolix/torrent/cmd/torrent + # Now 'torrent' should be in $GOPATH/bin, which should be in $PATH. $ torrent 'magnet:?xt=urn:btih:KRWPCX3SJUM4IMM4YF5RPHL6ANPYTQPU' + ubuntu-14.04.2-desktop-amd64.iso [===================================================================>] 99% downloading (1.0 GB/1.0 GB) 2015/04/01 02:08:20 main.go:137: downloaded ALL the torrents $ md5sum ubuntu-14.04.2-desktop-amd64.iso 1b305d585b1918f297164add46784116 ubuntu-14.04.2-desktop-amd64.iso -- 2.44.0