From 116c9fdcb43758b591394c06a66da7d61e08481e Mon Sep 17 00:00:00 2001 From: Johann150 Date: Mon, 25 Jan 2021 21:03:48 +0100 Subject: [PATCH] rename flag --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d29ba1a..6e13919 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,7 +72,7 @@ fn args() -> Result { opts.optflag("s", "silent", "Disable logging output"); opts.optflag("h", "help", "Print this help menu"); opts.optflag("", "serve-secret", "Enable serving secret files (files/directories starting with a dot)"); - opts.optflag("", "ip", "Output IP addresses when logging"); + opts.optflag("", "log-ip", "Output IP addresses when logging"); let matches = opts.parse(&args[1..]).map_err(|f| f.to_string())?; if matches.opt_present("h") {