Skip to content

Commit

Permalink
Use fixed width for example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Dec 10, 2023
1 parent 54cdbc9 commit 16ecbee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ Communication about the project is primarily through [Discussions](https://githu

Here I'll describe what some of the packages in `./cmd` do. See [installation](#installation) to make them available.

### torrent
### `torrent`

#### torrent download
#### `torrent download`

Downloads torrents from the command-line.

$ torrent download 'magnet:?xt=urn:btih:KRWPCX3SJUM4IMM4YF5RPHL6ANPYTQPU'
... lots of jibba jabber ...
... lots of jibber jabber ...
downloading "ubuntu-14.04.2-desktop-amd64.iso": 1.0 GB/1.0 GB, 1989/1992 pieces completed (1 partial)
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
$ echo such amaze
wow

#### torrent metainfo magnet
#### `torrent metainfo magnet`

Creates a magnet link from a torrent file. Note the extracted trackers, display name, and info hash.

Expand All @@ -85,7 +85,7 @@ Creates a magnet link from a torrent file. Note the extracted trackers, display

See `torrent metainfo --help` for other metainfo related commands.

### torrentfs
### `torrentfs`

torrentfs mounts a FUSE filesystem at `-mountDir`. The contents are the torrents described by the torrent files and magnet links at `-metainfoDir`. Data for read requests is fetched only as required from the torrent network, and stored at `-downloadDir`.

Expand Down

0 comments on commit 16ecbee

Please sign in to comment.