package the8472.mldht.cli.commands;

import the8472.mldht.cli.CommandProcessor;

public class Help extends CommandProcessor {

	@Override
	protected void process() {
		println("HELP                      - prints this help");
		println("PING ip port              - continuously pings a DHT node with a 1 second interval");
		println("GETTORRENT infohash path  - perform peer lookup for <infohash>, then attempt metadata exchange, then write .torrent to <path>");
		exit(0);
	}

}

@@ -196,16 +196,26 @@
         
+          
 - prints
@@ -265,16 +265,26 @@
         
+          
 - contin
@@ -370,23 +370,25 @@
 ash 
-path  - perform
+%5Binfohash ...%5D  -
  pee
@@ -409,16 +409,20 @@
 infohash
+(es)
 %3E, then 
@@ -472,17 +472,359 @@
 ent 
-to %3Cpath%3E
+file(s) to the current working directory%22);%0A%09%09println(%22GETPEERS infohash %5Binfohash ...%5D    - peer lookup for %3Cinfohash(es)%3E, print ip address/port tuples%22);%0A%09%09println(%22BURST %5Bcount%5D                       - run a batch of find_node lookups to random target IDs. intended test the attainable throughput for active lookups, subject to internal throttling
 %22);%0A

update cli help