agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 5de00f66bb25a0e5e6fd004ee918a50f76681d79
parent 2782d744bf159854a5c430f23eb4915c0e407d0f
Author: Johann150 <johann.galle@protonmail.com>
Date:   Mon,  8 Feb 2021 08:32:40 +0100

reenable multiple occurences of --addr

Accidentally disabled this when merging reformatting.

Diffstat:
MCargo.lock | 2+-
MCargo.toml | 2+-
Msrc/main.rs | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml @@ -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"] diff --git a/src/main.rs b/src/main.rs @@ -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)",