summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2021-07-19 08:07:40 -0400
committerAndrew Gallant <jamslam@gmail.com>2021-07-19 08:07:40 -0400
commit0ff5dd23606ee1e006a38ac7d18afcc4c368d9a4 (patch)
treecf94829580533ed998e7b5adc5af0d2e14fed1de
parent3c7819301b5e7cad9d379eb084795f2670a20d2e (diff)
doc: --field-match-separator's default value is ':'
The docs were out of sync with the implementation. Likely a copy-and-paste error. Fixes #1939
-rw-r--r--crates/core/app.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/core/app.rs b/crates/core/app.rs
index a752655b..215a2b74 100644
--- a/crates/core/app.rs
+++ b/crates/core/app.rs
@@ -1242,7 +1242,7 @@ fn flag_field_context_separator(args: &mut Vec<RGArg>) {
Set the field context separator, which is used to delimit file paths, line
numbers, columns and the context itself, when printing contextual lines. The
separator may be any number of bytes, including zero. Escape sequences like
-\\x7F or \\t may be used. The default value is -.
+\\x7F or \\t may be used. The '-' character is the default value.
"
);
let arg = RGArg::flag("field-context-separator", "SEPARATOR")
@@ -1257,8 +1257,8 @@ fn flag_field_match_separator(args: &mut Vec<RGArg>) {
"\
Set the field match separator, which is used to delimit file paths, line
numbers, columns and the match itself. The separator may be any number of
-bytes, including zero. Escape sequences like \\x7F or \\t may be used. The
-default value is -.
+bytes, including zero. Escape sequences like \\x7F or \\t may be used. The ':'
+character is the default value.
"
);
let arg = RGArg::flag("field-match-separator", "SEPARATOR")