aboutsummaryrefslogtreecommitdiff
path: root/net/adblock/files/adblock.init
diff options
context:
space:
mode:
Diffstat (limited to 'net/adblock/files/adblock.init')
-rwxr-xr-xnet/adblock/files/adblock.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/adblock/files/adblock.init b/net/adblock/files/adblock.init
index 4efb7d46d..9ef6215df 100755
--- a/net/adblock/files/adblock.init
+++ b/net/adblock/files/adblock.init
@@ -13,7 +13,7 @@ then
extra_command "suspend" "Suspend adblock processing"
extra_command "resume" "Resume adblock processing"
extra_command "query" "<domain> Query active blocklists and backups for a specific domain"
- extra_command "report" "[<search>] Print DNS statistics with an optional search parameter"
+ extra_command "report" "[[<cli>|<mail>|<gen>|<json>] [<count>] [<search>]] Print DNS statistics with an optional search parameter"
extra_command "list" "[<add>|<add_sha>|<add_utc>|<add_eng>|<add_stb>|<remove>|<remove_sha>|<remove_utc>|<remove_eng>|<remove_stb>] <source(s)> List/Edit available sources"
extra_command "timer" "[<add> <tasks> <hour> [<minute>] [<weekday>]]|[<remove> <line no.>] List/Edit cron update intervals"
extra_command "version" "Print version information"
@@ -23,7 +23,7 @@ else
suspend Suspend adblock processing
resume Resume adblock processing
query <domain> Query active blocklists and backups for a specific domain
- report [<search>] Print DNS statistics with an optional search parameter
+ report [[<cli>|<mail>|<gen>|<json>] [<count>] [<search>]] Print DNS statistics with an optional search parameter
list [<add>|<add_sha>|<add_utc>|<add_eng>|<add_stb>|<remove>|<remove_sha>|<remove_utc>|<remove_eng>|<remove_stb>] <source(s)> List/Edit available sources
timer [<add> <tasks> <hour> [<minute>] [<weekday>]]|[<remove> <line no.>] List/Edit cron update intervals
version Print version information"
@@ -105,7 +105,7 @@ query()
report()
{
- rc_procd "${adb_script}" report "${1:-"+"}" "${2:-"50"}" "${3:-"true"}" "${4:-"cli"}"
+ rc_procd "${adb_script}" report "${1:-"cli"}" "${2}" "${3}"
}
list()