cdfd88eb |
1 | /* Modified by: xChaos, 20131029 */ |
068f0e75 |
2 | |
3 | #include "cll1-0.6.2.h" |
4 | |
f19d3cd0 |
5 | /* ======= Help screen is hopefuly self-documenting part of code :-) ======= */ |
6 | |
068f0e75 |
7 | void help(void) |
8 | { |
9 | puts("Command line switches:\n\ |
10 | \n\ |
11 | -d Dry run (preview tc and iptables commands on stdout)\n\ |
12 | -r Run (reset all statistics and start shaping - daily usage)\n\ |
13 | -p just generate Preview of data transfer statistics and exit (after -r)\n\ |
3f76726a |
14 | -s Start shaping FUP limits (keeps data transfer stat like -p) (after -r)\n\ |
15 | -q Quit shaping FUP limits (keeps data transfer stat like -p) (after -r)\n\ |
62b118c2 |
16 | -2 Reduce HTB ceil (min+(max-min)/2 + keep stats like -p) (after -r)\n\ |
8eb6a627 |
17 | -4 Reduce HTB ceil (min+(max-min)/4 + keep stats like -p) (after -r)\n\ |
068f0e75 |
18 | -n run Now (like -r delay - overrides qos-free-delay keyword, after boot)\n\ |
19 | -f just Flush iptables and tc classes and exit (stop shaping, no QiS)\n\ |
20 | -9 emergency iptables flush (like -f, but dumps data transfer statistics)\n\ |
21 | \n\ |
22 | -c filename force alternative /etc/prometheus/prometheus.conf filename\n\ |
23 | -h filename force alternative /etc/hosts filename (overrides hosts keyword)\n\ |
24 | -l Mmm YYYY generate HTML summary of Logged traffic (Mmm=Jan-Dec) (and exit)\n\ |
25 | -m generate HTML summary of traffic for yesterday's Month (and exit)\n\ |
26 | -y generate HTML summary of traffic for yesterday's Year (and exit)\n\ |
af37be1d |
27 | -a analyse network topology (agregation statistics, using traceroute)\n\ |
068f0e75 |
28 | -? --help show this help scree (and exit)\n\ |
29 | -v --version show Version number of this utility (and exit)\n"); |
30 | } |