From 4b28eae9797302ce2e228f2210d68e376f88ed38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 20 Feb 2020 22:45:32 +0100 Subject: [PATCH] fix help MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- elasticsearch/esclean.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/esclean.py b/elasticsearch/esclean.py index 5a353d6..6ce7066 100755 --- a/elasticsearch/esclean.py +++ b/elasticsearch/esclean.py @@ -5,8 +5,8 @@ from optparse import OptionParser from elasticsearch import Elasticsearch from elasticsearch.exceptions import ConflictError -HELP_DESCRIPTION='This is a simple utility for querying CloudFlare for audit logs.' -HELP_EXAMPLE='Example: ./get_log.py -s 2018-10-01 -a delete' +HELP_DESCRIPTION='This is a simple utility for cleaning ElasticSearch indices.' +HELP_EXAMPLE='Example: ./esclean.py -i "logstash-2019.11.*" -p beacon -d' def parse_opts(): parser = OptionParser(description=HELP_DESCRIPTION, epilog=HELP_EXAMPLE)