The command `--help` text output in the book was very wide, which caused it to be clipped and require scrolling horizontally to see it all. This diff renders the text at 80 columns, which makes it visible without scrolling at reasonable screen sizes. To do this, `env::run` now checks for the presence of the environment variable `IMDL_TERM_WIDTH`, which, if set to a positive integer, will be passed to `Clap::set_term_width`. `bin/man` now uses this to render the help text at 80 characters. type: documentation pr: https://github.com/casey/intermodal/pull/364
749 B
749 B
imdl torrent
imdl-torrent 0.1.4
Subcommands related to the BitTorrent protocol.
USAGE:
imdl torrent <SUBCOMMAND>
FLAGS:
-h, --help Print help message.
-V, --version Print version number.
SUBCOMMANDS:
create Create a `.torrent` file.
help Prints this message or the help of the given
subcommand(s)
link Generate a magnet link from a `.torrent` file.
piece-length Display information about automatic piece length
selection.
show Display information about a `.torrent` file.
stats Show statistics about a collection of `.torrent` files.
verify Verify files against a `.torrent` file.