diff options
author | Thomas Otto <th1000s@posteo.net> | 2021-10-18 17:15:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 11:15:58 -0400 |
commit | 4f5e3ebbd1106c5f8e418b5743e2166576c9f0a8 (patch) | |
tree | f736e587dc494212e919fc3f22697d236a132827 /src/subcommands/show_config.rs | |
parent | 3a03d4b5eede9a6c342a61941dd78c38c3559824 (diff) |
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
Diffstat (limited to 'src/subcommands/show_config.rs')
-rw-r--r-- | src/subcommands/show_config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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} |