environment.add_argument('-l','--list',dest='list_csv',**BOOL_PARAM,help=f'if specified program will just list avaiable CSV files')
environment.add_argument('-r','--root-dir',dest='root_dir',type=str,default=DEFAULT_ROOT_DIR,help=f'path to root directory of HAfAH project [default={DEFAULT_ROOT_DIR}]')
environment.add_argument('-d','--datadir',dest='datadir',type=str,default='./wdir',help='defines path to workdir (path to this dir will alway be recreated) [default=./wdir]')
environment.add_argument('-j','--jmeter',dest='jmeter',type=str,default='/usr/bin/jmeter',help='path to jmeter executable [default=/usr/bin/jmeter]')
environment.add_argument('-q','--supr-errors',dest='supr_err',**BOOL_PARAM,help="if specified error messages of bad requests won't be printed")
environment.add_argument('--skip-version-check',dest='skip_version',**BOOL_PARAM,help='if specified, `hive_api.get_version` call will not be performed')
# benchmarking options
benchmarking.add_argument('-n','--api-name',dest='api',type=str,default='account_history_api',help='specifies which API should be tested [default=account_history_api]')
benchmarking.add_argument('-c','--csv',dest='select_csv',type=str,default='perf_60M_heavy.csv',help=f'selected CSV FILENAME (use -l to list avaiable), [default=perf_60M_heavy.csv]')
benchmarking.add_argument('-k','--loops',dest='loops',type=int,default=None,help=f'amount of loops over CSV file per thread (if exceed, thread loop over the file again); for cl mode: pass -1 for infite loop [default={DEFAULT_LOOP_COUNT}]')
benchmarking.add_argument('-t','--threads',dest='threads',type=int,default=10,help='defines amount of threads to use during tests [default=10]')
benchmarking.add_argument('--call-style',dest='call_style',type=str,default='old-style',help='defines calling style, performaed by jmeter [default=old-style]',choices=('old-style','new-style','postgres'))
# connection options
connection.add_argument('-p','--port',dest='port',type=int,default=8095,help='port to use during tests; set to 5432 for direct postgres query [default=8095]')
connection.add_argument('-a','--address',dest='addr',type=str,default='localhost',help='addres to connect during test [default=localhost]')
connection.add_argument('--postgres',dest='postgres_url',type=str,default='postgresql:///haf_block_log',help='if specified connection string, tests will be performed on postgres db [default=postgresql:///haf_block_log]')
# analytics options
analytics.add_argument('-i','--ignore-bad-req',dest='ignore_br',**BOOL_PARAM,help='if specified script will ignore requests that failed, error message is still printed')