mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
fix: number-of-lines option in config file is ignored (#528)
Co-authored-by: andy.boot <bootandy@gmail.com>
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ fn main() {
|
||||
// If depth is set, then we set the default number_of_lines to be max
|
||||
// instead of screen height
|
||||
|
||||
let number_of_lines = match options.number_of_lines {
|
||||
let number_of_lines = match config.get_number_of_lines(&options) {
|
||||
Some(val) => val,
|
||||
None => {
|
||||
if depth != usize::MAX {
|
||||
|
||||
Reference in New Issue
Block a user