add default config search path in /etc/

This commit is contained in:
bretello 2020-03-20 16:31:19 +01:00
parent bff96f0f67
commit 5700f7b9e6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "zaphodafier"
version = "0.1.0"
version = "0.1.1"
description = ""
authors = ["Unit <unit@abbiamoundominio.org>"]
license = "GPL-3.0"

View File

@ -20,7 +20,7 @@ import click
"-c",
"--config",
multiple=True,
default=["zaphodafier.conf", "~/zaphodafier.conf", "~/.zaphodafier.conf"],
default=["zaphodafier.conf", "~/zaphodafier.conf", "~/.zaphodafier.conf", "/etc/zaphodafier.conf"],
help="Configuration file",
type=click.Path(),
show_default="True",