diff options
author | Ben S <ogham@bsago.me> | 2015-02-26 07:26:04 +0000 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-02-26 07:26:04 +0000 |
commit | f9f1c991cb1c6fa4710bb9e9e9f9c1f3ad5979dd (patch) | |
tree | 32ccb4784b6d794771c2b963fc45ba65e361b0ee /src/options.rs | |
parent | abf7bf7a3e8464ab8fce5a030f5fb8cd55761d4b (diff) |
details: `filter` is only used when recursing
So move it as part of 'recurse's option.
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs index 3c99e76..6a6c068 100644 --- a/src/options.rs +++ b/src/options.rs @@ -233,9 +233,8 @@ impl View { let details = Details { columns: try!(Columns::deduce(matches)), header: matches.opt_present("header"), - recurse: dir_action.recurse_options(), + recurse: dir_action.recurse_options().map(|o| (o, filter)), xattr: xattr::feature_implemented() && matches.opt_present("extended"), - filter: filter, }; Ok(View::Details(details)) |