|
|
|
@ -298,10 +298,10 @@ void printHelp(bool printAll)
|
|
|
|
|
cout << "blacklist " << Version::VERSION_STRING << ", ";
|
|
|
|
|
cout << Version::STATUS << endl;
|
|
|
|
|
cout << Version::COPYRIGHT << endl;
|
|
|
|
|
cout << "Usage: blacklist [options] <ip-address>";
|
|
|
|
|
cout << "Usage: blacklist [options] <ip-address>" << endl;
|
|
|
|
|
if(printAll == true)
|
|
|
|
|
{
|
|
|
|
|
cout << endl << endl;
|
|
|
|
|
cout << endl;
|
|
|
|
|
cout << "The blacklist file is located at: " << DEFAULT_FILENAME << endl << endl;
|
|
|
|
|
cout << "Options: -a add ip-address(es) (to file)" << endl;
|
|
|
|
|
cout << " -d delete ip-address (from file) (still only 1!)" << endl;
|
|
|
|
@ -312,7 +312,7 @@ void printHelp(bool printAll)
|
|
|
|
|
cout << " -C count ip-addresses (from file)" << endl;
|
|
|
|
|
cout << " -CL count ip-addresses (from iptables)" << endl;
|
|
|
|
|
cout << " -L list ip-addresses (from iptables)" << endl;
|
|
|
|
|
cout << " -F flush (iptables)";
|
|
|
|
|
cout << " -F flush (iptables)" << endl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|