diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 14:08:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 14:08:56 +0100 |
commit | b72a6879c8dea90986387d58e7decb19e03ab17f (patch) | |
tree | f3c3af703e3b8b19e11f5df82f461813c136b3f2 /lualib | |
parent | 4dfc2e53174ccfa28a92d60401d75bde2904e205 (diff) | |
download | rspamd-b72a6879c8dea90986387d58e7decb19e03ab17f.tar.gz rspamd-b72a6879c8dea90986387d58e7decb19e03ab17f.zip |
[Minor] Reuse description
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/rspamadm/grep.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/rspamadm/grep.lua b/lualib/rspamadm/grep.lua index 0e66b9770..f20ac76e5 100644 --- a/lualib/rspamadm/grep.lua +++ b/lualib/rspamadm/grep.lua @@ -20,7 +20,7 @@ local argparse = require "argparse" -- Define command line options local parser = argparse() :name "rspamadm grep" - :description "rspamadm grep - search for patterns in rspamd logs" + :description "Search for patterns in rspamd logs" :help_description_margin(30) parser:option "-s --string" :description('Plain string to search (case-insensitive)') @@ -166,6 +166,6 @@ end return { handler = handler, - description = 'Search for patterns in rspamd logs', + description = parser._description, name = 'grep' }
\ No newline at end of file |