Small style fix

This commit is contained in:
sharkdp 2018-07-23 21:10:55 +02:00 committed by David Peter
parent c68aa0f424
commit bf53b64125
1 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,8 @@ impl App {
},
term_width: Term::stdout().size().1 as usize,
files,
theme: self.matches
theme: self
.matches
.value_of("theme")
.and_then(|theme_name_arg| Some(String::from(theme_name_arg)))
.or_else(|| {