File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,11 @@ begin
112
112
cliext = TLSmap ::CLI ::Extended . new
113
113
v . each do |alg |
114
114
ci = TLSmap ::App ::Cipher . new ( :iana , alg , enhanced_data : cliext . enhanced_data )
115
- puts Paint [ alg , :white ] if ( args [ '--only-weak' ] && !ci . should_i_use? ) ||
116
- ( args [ '--hide-weak' ] && ci . should_i_use? )
115
+ next unless ( args [ '--only-weak' ] && !ci . should_i_use? ) ||
116
+ ( args [ '--hide-weak' ] && ci . should_i_use? )
117
+
118
+ print Paint [ "#{ k } " , :blue ] unless v . empty?
119
+ puts Paint [ alg , :white ]
117
120
end
118
121
else
119
122
puts Paint [ k , :blue ] unless v . empty?
Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased]
4
4
5
+ Enhancements:
6
+
7
+ - Display protocol version for extract command when options are used [ #54 ] ( https://github.com/noraj/tls-map/issues/54 )
8
+
9
+ Chore:
10
+
5
11
- ** Breaking changes** :
6
12
- Drop support for Ruby 3.0 as they are EOL
7
- - Chore:
8
- - Add support for Ruby 3.4
13
+ - Add support for Ruby 3.4
9
14
10
15
## [ 3.0.0]
11
16
You can’t perform that action at this time.
0 commit comments