@@ -5,8 +5,7 @@ use record::RecordTrait;
55use std:: sync:: Arc ;
66use stream:: Entry ;
77use stream:: Stream ;
8- use super :: OperationBe2 ;
9- use super :: OperationBeForBe2 ;
8+ use super :: OperationBe ;
109use super :: OperationRegistrant ;
1110use super :: SubOperationOption ;
1211use super :: TwoRecordUnionOption ;
@@ -25,11 +24,9 @@ pub struct Options {
2524
2625pub ( crate ) type Impl = OperationRegistrant < ImplBe > ;
2726
28- pub ( crate ) type ImplBe = OperationBeForBe2 < ImplBe2 > ;
27+ pub ( crate ) struct ImplBe ( ) ;
2928
30- pub ( crate ) struct ImplBe2 ( ) ;
31-
32- impl Optionsable for ImplBe2 {
29+ impl Optionsable for ImplBe {
3330 type Options = Options ;
3431
3532 fn options ( opt : & mut OptionsPile < Options > ) {
@@ -39,7 +36,7 @@ impl Optionsable for ImplBe2 {
3936 }
4037}
4138
42- impl OperationBe2 for ImplBe2 {
39+ impl OperationBe for ImplBe {
4340 fn names ( ) -> Vec < & ' static str > {
4441 return vec ! [ "expand-lines" ] ;
4542 }
@@ -48,6 +45,10 @@ impl OperationBe2 for ImplBe2 {
4845 return "run an operation on individual lines, themselves read from input record values" ;
4946 }
5047
48+ fn get_extra ( o : Arc < OptionsValidated > ) -> Vec < String > {
49+ return o. op . extra . clone ( ) ;
50+ }
51+
5152 fn stream ( o : Arc < OptionsValidated > ) -> Stream {
5253 return stream:: closures (
5354 ( ) ,
0 commit comments