diff --git a/README.md b/README.md index a157e50..30b2dfe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,19 @@ # Tool to send and receive files using Tox NGC FileTransfers currently on prototype FT1 +## Example + +### sender (seeder) +$ tox_ngc_ft1_tool -F sender.tox -G -a sha1_info -f file_to_transfer + +this will print this tools tox_id and the generated info_hash + +### receivers (leechers) +$ tox_ngc_ft1_tool -F sender.tox -G -a sha1_info -D + +this will first download the info using the info_hash and then all the file chunks listed in the info +while simultaneously resharing allready downloaded chunks and info (swarming) + ## Usage ``` diff --git a/src/command_line.cpp b/src/command_line.cpp index 0d2d8fb..92d1efd 100644 --- a/src/command_line.cpp +++ b/src/command_line.cpp @@ -178,7 +178,7 @@ void CommandLine::printHelp(void) { << " --ft_sending_resend_without_ack_after\n" << " --ft_sending_give_up_after\n" << " --ft_packet_window_size\n" - + << "\n" << " transfer logic:\n" << " TODO\n" ;