diff options
author | Andrew Gallant <jamslam@gmail.com> | 2023-10-11 19:54:24 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-11-20 23:51:53 -0500 |
commit | 8b766a2522f419ac33552b2f82ec2ad79646c601 (patch) | |
tree | 9c3c6db6aeeaa22cee6751ba87b363377261ce41 /crates/core/args.rs | |
parent | c21302b4096f9ce1af095fbe8b14828a90ecfecb (diff) |
ripgrep: disable hyperlinks by default
As a result of discussion in #2611, it seems prudent to disable
hyperlinks by default. Ideally they would be enabled, but it looks like
some environments may barf on them. Since this is the first release with
hyperlink support, it makes sense to me at least to make users opt into
them. This does not preclude enabling them by default in future
releases.
Diffstat (limited to 'crates/core/args.rs')
-rw-r--r-- | crates/core/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/args.rs b/crates/core/args.rs index 05d015aa..6125f5e8 100644 --- a/crates/core/args.rs +++ b/crates/core/args.rs @@ -1136,7 +1136,7 @@ impl ArgMatches { .wsl_prefix(wsl_prefix()); let fmt: HyperlinkFormat = match self.value_of_lossy("hyperlink-format") { - None => "default".parse().unwrap(), + None => "none".parse().unwrap(), Some(format) => match format.parse() { Ok(format) => format, Err(err) => { |