From 0ff5dd23606ee1e006a38ac7d18afcc4c368d9a4 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Mon, 19 Jul 2021 08:07:40 -0400 Subject: 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 --- crates/core/app.rs | 6 +++--- 1 file 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) { 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) { "\ 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") -- cgit v1.2.3