Author: marek Date: 2009-10-25 00:28:45 +0000 (Sun, 25 Oct 2009) New Revision: 1457
Modified: trunk/batctl/main.c trunk/batctl/man/batctl.8 Log: [batctl] a little more documentation for batctl
Modified: trunk/batctl/main.c =================================================================== --- trunk/batctl/main.c 2009-10-25 00:13:51 UTC (rev 1456) +++ trunk/batctl/main.c 2009-10-25 00:28:45 UTC (rev 1457) @@ -53,7 +53,7 @@ printf(" \ttcpdump|td <interface> \ttcpdump layer 2 traffic on the given interface\n"); printf(" \tbisect <file1> .. <fileN>\tanalyze given log files for routing stability\n"); printf("options:\n"); - printf(" \t-h print this help\n"); + printf(" \t-h print this help (or 'batctl <command> -h' for the command specific help)\n"); printf(" \t-v print version\n"); }
Modified: trunk/batctl/man/batctl.8 =================================================================== --- trunk/batctl/man/batctl.8 2009-10-25 00:13:51 UTC (rev 1456) +++ trunk/batctl/man/batctl.8 2009-10-25 00:28:45 UTC (rev 1457) @@ -78,7 +78,7 @@ Per default batctl will display all packets that were seen on the given interface(s). The "-p" options allows to filter certain packet types: 1 displays batman ogm packets only, 2 displays batman icmp packets only, etc. These numbers can be added to filter more than one packet type, e.g. use "-p 3" to display batman ogm packets and batman icmp packets only. If "-n" was given batctl will not replace the mac addresses with bat-host names in the output. .br .IP "\fBbisect logfile1 logfile2 .. logfileN\fP" -Analyzes the logfiles to build a small internal database of all sent sequence numbers and routing table changes. This database can be used to search for routing loops (default action) or to trace OGMs of a host (use "-t" to specify the mac address or bat-host name) throughout the network. You can name a specific sequence number or a range using the "-s" option to reduce the trace output. If "-n" was given batctl will not replace the mac addresses with bat-host names in the output. +Analyzes the logfiles to build a small internal database of all sent sequence numbers and routing table changes. This database can be used to search for routing loops (default action), to trace OGMs of a host (use "-t" to specify the mac address or bat-host name) throughout the network or to display routing tables of the nodes (use "-r" to specify the mac address or bat-host name). You can name a specific sequence number or a range using the "-s" option to reduce the trace output. If "-n" was given batctl will not replace the mac addresses with bat-host names in the output. .br .SH FILES .TP