add default config search path in /etc/
This commit is contained in:
parent
bff96f0f67
commit
5700f7b9e6
|
@ -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"
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user