mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
require config path via cli, remove env var
This commit is contained in:
parent
3650fde0ac
commit
9b115b4110
4 changed files with 11 additions and 23 deletions
|
|
@ -38,13 +38,6 @@ impl fmt::Display for DisplayWithSources<'_> {
|
|||
#[allow(missing_docs)]
|
||||
#[derive(Error, Debug)]
|
||||
pub(crate) enum Main {
|
||||
#[error(
|
||||
"the `{0}` environment variable must either be set to a configuration \
|
||||
file path or set to an empty string to force configuration through \
|
||||
environment variables"
|
||||
)]
|
||||
ConfigPathUnset(&'static str),
|
||||
|
||||
#[error("invalid configuration")]
|
||||
ConfigInvalid(#[from] figment::Error),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue