File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ sub listener_specs {
2929 exclusive => 1,
3030 predicate => sub ($self , $e ) {
3131 return unless $e -> was_targeted;
32- return unless $e -> text =~ / \A list\s +all\s +preferences \s *\z /i ;
32+ return unless $e -> text =~ / \A list( \s +all)? \s +(settings|pref(erence)s?) \s *\z /i ;
3333 },
3434 },
3535 {
@@ -38,8 +38,9 @@ sub listener_specs {
3838 exclusive => 1,
3939 predicate => sub ($self , $e ) {
4040 return unless $e -> was_targeted;
41- return 1 if $e -> text =~ / \A dump\s +my\s +pref(erence)?s/in ;
42- return 1 if $e -> text =~ / \A dump\s +pref(erence)?s\s +for/in ;
41+ return 1 if $e -> text =~ / \A pref(erence)?s\z /in ;
42+ return 1 if $e -> text =~ / \A (dump|show)(\s +my)?\s +(settings|pref(erence)?s)/in ;
43+ return 1 if $e -> text =~ / \A (dump|show)\s +(settings|pref(erence)?s)\s +for/in ;
4344 return ;
4445 },
4546 }
You can’t perform that action at this time.
0 commit comments