From 4f5e3ebbd1106c5f8e418b5743e2166576c9f0a8 Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Mon, 18 Oct 2021 17:15:58 +0200 Subject: Use fatal() to exit with errorcode 2 (#739) * Fix two typos * Dismantle two Pyramids of Doom Use question mark operator instead * Use fatal() to exit with errorcode 2 --- src/subcommands/show_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/subcommands/show_config.rs') diff --git a/src/subcommands/show_config.rs b/src/subcommands/show_config.rs index 254c5e30..5442ae1f 100644 --- a/src/subcommands/show_config.rs +++ b/src/subcommands/show_config.rs @@ -100,7 +100,7 @@ pub fn show_config(config: &config::Config, writer: &mut dyn Write) -> std::io:: writer, " max-line-distance = {max_line_distance} max-line-length = {max_line_length} - line-fill-method = {line_fill_method} + line-fill-method = {line_fill_method} navigate = {navigate} navigate-regexp = {navigate_regexp} pager = {pager} -- cgit v1.2.3