diff --git a/Cargo.toml b/Cargo.toml index b1c609a..e4798b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,6 +64,8 @@ uzers = "0.12.1" which = "8.0.0" xdg = "2.5.2" strip-ansi-escapes = "0.2.1" +pest = "2.8.1" +pest_derive = "2.8.1" [dev-dependencies] tempfile = "3.3.0" diff --git a/src/filter_plugin/head.rs b/src/filter_plugin/head.rs index 2dfb554..00c3546 100644 --- a/src/filter_plugin/head.rs +++ b/src/filter_plugin/head.rs @@ -48,16 +48,6 @@ impl FilterPlugin for HeadBytesFilter { } ] } - - fn options(&self) -> Vec { - vec![ - FilterOption { - name: "count".to_string(), - default: None, - required: true, - } - ] - } } pub struct HeadLinesFilter {