diff options
| author | troido <troido@protonmail.com> | 2020-04-23 12:53:01 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-23 12:53:01 +0200 |
| commit | 080466200060d2d3ec64bec32a4959fa061b79ce (patch) | |
| tree | fbe602a0777583086b21799028f882d7b63d5c31 /src/config.rs | |
| parent | b41c30fa15aea0b01b8fa30e378d123da046a1e6 (diff) | |
accept authentication messages, and validate registrations
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 9d2c480..708945d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -16,4 +16,7 @@ pub struct Config { #[structopt(short, long, env="ASCIIFARM_SAVE_DIR", help="The directory in which the savegames are")] pub save_dir: Option<PathBuf>, + #[structopt(short, long, env="ASCIIFARM_USER_DIR", help="The directory in which the user sign-in data lives")] + pub user_dir: Option<PathBuf>, + } |
