mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
reenable multiple occurences of --addr
Accidentally disabled this when merging reformatting.
This commit is contained in:
parent
2782d744bf
commit
5de00f66bb
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -2,7 +2,7 @@
|
|||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "agate"
|
||||
version = "2.4.0"
|
||||
version = "2.4.1"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"getopts",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "agate"
|
||||
version = "2.4.0"
|
||||
version = "2.4.1"
|
||||
authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"]
|
||||
description = "Very simple server for the Gemini hypertext protocol"
|
||||
keywords = ["server", "gemini", "hypertext", "internet", "protocol"]
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ fn args() -> Result<Args> {
|
|||
"PKCS8 private key file (default ./key.rsa)",
|
||||
"FILE",
|
||||
);
|
||||
opts.optopt(
|
||||
opts.optmulti(
|
||||
"",
|
||||
"addr",
|
||||
"Address to listen on (multiple occurences possible, default 0.0.0.0:1965 and [::]:1965)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue