File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use anyhow::Context;
22
33use itertools:: Itertools ;
44
5- use tracing:: { debug , warn} ;
5+ use tracing:: warn;
66
77use std:: { borrow:: Cow , sync:: Arc } ;
88
@@ -156,13 +156,15 @@ struct AutoCommandLineArgsRegex(String);
156156impl AutoCommandLineArgsRegex {
157157 fn new ( command_line_args : & CommandLineArgs ) -> Option < Self > {
158158 if command_line_args. regex . is_none ( ) && command_line_args. commands_from_args_mode ( ) {
159- Self :: new_auto_interpolate_args ( command_line_args)
159+ Self :: new_auto_interpolate_commands_from_args ( command_line_args)
160160 } else {
161161 None
162162 }
163163 }
164164
165- fn new_auto_interpolate_args ( command_line_args : & CommandLineArgs ) -> Option < Self > {
165+ fn new_auto_interpolate_commands_from_args (
166+ command_line_args : & CommandLineArgs ,
167+ ) -> Option < Self > {
166168 let mut first = true ;
167169 let mut argument_group_count = 0 ;
168170
@@ -183,8 +185,6 @@ impl AutoCommandLineArgsRegex {
183185
184186 let argument_group_count = argument_group_count;
185187
186- debug ! ( "argument_group_count = {}" , argument_group_count) ;
187-
188188 let mut generated_regex = String :: with_capacity ( argument_group_count * 5 ) ;
189189
190190 for i in 0 ..argument_group_count {
You can’t perform that action at this time.
0 commit comments