diff options
| author | troido <troido@protonmail.com> | 2020-04-23 15:20:54 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-23 15:20:54 +0200 |
| commit | 4d1cbdf2fc0d79b99589327eb378306c557d346a (patch) | |
| tree | 9af2fe092fc850b8c314f27e4992a7e9cf124c8e /src/config.rs | |
| parent | 904f81b2a31fe30e1f7b11c25a9ce523625f1c6b (diff) | |
tell users when they use a guest account and inform them about server admin
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 708945d..0adeb9e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -19,4 +19,8 @@ pub struct Config { #[structopt(short, long, env="ASCIIFARM_USER_DIR", help="The directory in which the user sign-in data lives")] pub user_dir: Option<PathBuf>, + + #[structopt(long, env="USER", help="The name(s) of the server admin(s)")] + pub admins: String, + } |
