summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorTau Gärtli <git@tau.garden>2024-09-06 14:39:52 +0200
committerGitHub <noreply@github.com>2024-09-06 08:39:52 -0400
commitba0bfaf9ecf860de70c8ee097b33490a9fc4b63e (patch)
tree82ef262d3737d01024b5ea6ab312ff140d863b81 /src/cli.rs
parent2d1cb201ab1e3c6ebd8f5a6e9209ec5bdcb4d39a (diff)
Fix clippy warnings (#1851)
* Fix non-portable doc comments warning A line starting with > might be interpreted as a block quote. In regular markdown this could be prevented by escaping the `>` using a backslash. However, since the doc comments are used by clap for the long help more or less verbatim, the `\` would be visible hence the shuffling around of words. * Use `.contains()`
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli.rs b/src/cli.rs
index fa635a7..011cdb5 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -411,9 +411,9 @@ pub struct Opt {
/// and line numbers link to the local file using a file URL, whereas commit hashes link to the
/// commit in GitHub, if the remote repository is hosted by GitHub. See
/// --hyperlinks-file-link-format for full control over the file URLs emitted. Hyperlinks are
- /// supported by several common terminal emulators. To make them work, you must use less version
- /// >= 581 with the -R flag (or use -r with older less versions, but this will break e.g.
- /// --navigate). If you use tmux, then you will also need a patched fork of tmux (see
+ /// supported by several common terminal emulators. To make them work, you must use less
+ /// version >= 581 with the -R flag (or use -r with older less versions, but this will break
+ /// e.g. --navigate). If you use tmux, then you will also need a patched fork of tmux (see
/// <https://github.com/dandavison/tmux>).
pub hyperlinks: bool,