mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
rename flag
This commit is contained in:
parent
74853799c7
commit
116c9fdcb4
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ fn args() -> Result<Args> {
|
|||
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") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue