summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatherine Noll <noll.catherine@gmail.com>2021-03-27 22:13:14 -0400
committerCatherine Noll <noll.catherine@gmail.com>2021-03-27 22:20:24 -0400
commit2e02bbec383d719a83c5a5193e7f8cd1e07cae12 (patch)
tree42a355bc49931f44c3ce16ffa0d5081c7b4c597d
parent4aaa5f2848e5effcbd0938af374a64a39ab53ae3 (diff)
Fix typo in docstring
-rw-r--r--src/options/theme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options/theme.rs b/src/options/theme.rs
index ae831202..420c5be5 100644
--- a/src/options/theme.rs
+++ b/src/options/theme.rs
@@ -66,7 +66,7 @@ fn is_no_syntax_highlighting_syntax_theme_name(theme_name: &str) -> bool {
/// chosen for a light or dark terminal background. (`bat` has no equivalent.)
///
/// Basically:
-/// 1. The theme is specified by the `--theme` option. If this isn't supplied then it is specified
+/// 1. The theme is specified by the `--syntax-theme` option. If this isn't supplied then it is specified
/// by the `BAT_THEME` environment variable.
/// 2. Light vs dark mode is specified by the `--light` or `--dark` options. If these aren't
/// supplied then it is inferred from the chosen theme.