From b18eded6aae9204ea47b5ee780cf9b5a3c74cb75 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Mon, 15 May 2017 21:48:14 +0200 Subject: [PATCH] Use -f instead of -F --- src/main.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9120c06..4222eec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -199,19 +199,22 @@ fn main() { let args: Vec = env::args().collect(); let mut opts = Options::new(); - opts.optflag("h", "help", "print this help message"); + opts.optflag("h", "help", + "print this help message"); opts.optflag("s", "sensitive", "case-sensitive search (default: smart case)"); opts.optflag("p", "full-path", "search full path (default: filename only)"); opts.optflag("H", "hidden", "search hidden files/directories (default: off)"); - opts.optflag("F", "follow", "follow symlinks (default: off)"); - opts.optflag("n", "no-color", "do not colorize output (default: on)"); + opts.optflag("f", "follow", + "follow symlinks (default: off)"); + opts.optflag("n", "no-color", + "do not colorize output (default: on)"); opts.optopt( "d", "max-depth", format!("maximum search depth (default: {})", MAX_DEPTH_DEFAULT).as_str(), - "D"); + "D"); let matches = match opts.parse(&args[1..]) { Ok(m) => m,