diff options
| author | troido <troido@protonmail.com> | 2020-09-23 14:30:55 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-23 14:30:55 +0200 |
| commit | 6f6172e1f5eca85b418d541553c439ab80fac072 (patch) | |
| tree | 8e76377550e068e80ed87ee6d3ceab2d9596f82c /src/config.rs | |
| parent | 276e31ee6793aadf6cde3d021803b78410012ecb (diff) | |
give unix and ipv6 example in --address explanation
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index ea1cab1..9e11d27 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,7 +7,7 @@ use crate::Address; #[structopt(name = "Rustifarm", about = "Asciifarm server in Rust")] pub struct Config { - #[structopt(short, long, help="A server type and address. Allowed server types: 'inet', 'unix', 'abstract'. Example: \"inet:127.0.0.1:1234\" or \"abstract:rustifarm\"")] + #[structopt(short, long, help="A server type and address. Allowed server types: 'inet', 'unix', 'abstract'. Example: \"inet:127.0.0.1:1234\" or \"abstract:rustifarm\" or \"unix:/tmp/rustifarm\" or \"inet:[::1]:1234\"")] pub address: Option<Vec<Address>>, #[structopt(short, long, env="ASCIIFARM_CONTENT_DIR", help="The directory in which the content specifying the world is (maps/encyclopaedia)")] |
