summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-23 12:53:01 +0200
committertroido <troido@protonmail.com>2020-04-23 12:53:01 +0200
commit080466200060d2d3ec64bec32a4959fa061b79ce (patch)
treefbe602a0777583086b21799028f882d7b63d5c31 /src/config.rs
parentb41c30fa15aea0b01b8fa30e378d123da046a1e6 (diff)
accept authentication messages, and validate registrations
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
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>,
+
}