From f59e47636f4cd02d4aa7ea9f9949b7c9307e2e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=B5=D0=BD=D0=B1=D0=B5=D1=80=D0=B3=20?= =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=BA?= Date: Mon, 14 May 2018 19:55:43 +0500 Subject: [PATCH] Add description --- main.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index c28a814..58b44df 100755 --- a/main.py +++ b/main.py @@ -1,4 +1,5 @@ #!/usr/bin/python3 +# coding: utf-8 import json import logging @@ -127,7 +128,11 @@ def get_description(cluster, location): def main(): - parser = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter) + parser = ArgumentParser( + description="Socketair Ceph tester. You should create pool of size 1 and provide a keyring file with user having rights to write to this pool.", + formatter_class=ArgumentDefaultsHelpFormatter, + epilog="For all questions contact Коренберг Марк and/or Telegram user @socketpair, as well as @socketpair on GitHub." + ) parser.add_argument('--debug', action='store_true', help='Enable debug mode.') parser.add_argument('--duration', type=int, default=10, help='Time limit for each test.', metavar='SECONDS') parser.add_argument('--bigsize', type=int, default=4 * 1024 * 1024, help='Size of object for linear write.',