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] [tool.poetry]
name = "zaphodafier" name = "zaphodafier"
version = "0.1.0" version = "0.1.1"
description = "" description = ""
authors = ["Unit <unit@abbiamoundominio.org>"] authors = ["Unit <unit@abbiamoundominio.org>"]
license = "GPL-3.0" license = "GPL-3.0"

View File

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