From 6f6172e1f5eca85b418d541553c439ab80fac072 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 23 Sep 2020 14:30:55 +0200 Subject: give unix and ipv6 example in --address explanation --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') 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>, #[structopt(short, long, env="ASCIIFARM_CONTENT_DIR", help="The directory in which the content specifying the world is (maps/encyclopaedia)")] -- cgit