From 4d05cead05a4afd6ae157bf117652dab1b1e0e51 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 17 Feb 2016 11:25:16 +0000 Subject: Make prog explicit Such that you get the same output when invoking the module directly. --- prometheus_pgbouncer_exporter/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prometheus_pgbouncer_exporter/cli.py b/prometheus_pgbouncer_exporter/cli.py index acadd6f..5a78fc6 100644 --- a/prometheus_pgbouncer_exporter/cli.py +++ b/prometheus_pgbouncer_exporter/cli.py @@ -31,6 +31,7 @@ from .collectors import StatsCollector, ListsCollector, PoolsCollector, \ def main(): p = configargparse.ArgParser( + prog="prometheus-pgbouncer-exporter", default_config_files=[ '/etc/prometheus-pgbouncer-exporter/config', ], -- cgit v1.2.3