*** empty log message ***

This commit is contained in:
Arvid Norberg
2004-11-18 22:33:50 +00:00
parent 0659b267cf
commit b29e378f22
17 changed files with 150 additions and 81 deletions

View File

@@ -77,8 +77,7 @@ int main(int argc, char* argv[])
if (argc != 4)
{
std::cerr << "usage: make_torrent <output torrent-file> <announce url> <file or directory to create torrent from>\n\n"
"the torrent file will be written to stdout.\n";
std::cerr << "usage: make_torrent <output torrent-file> <announce url> <file or directory to create torrent from>\n";
return 1;
}
@@ -112,7 +111,7 @@ int main(int argc, char* argv[])
t.set_creator(creator_str);
// create the torrent and print it to stdout
// create the torrent and print it to out
entry e = t.create_torrent();
libtorrent::bencode(std::ostream_iterator<char>(out), e);
}