diff options
Diffstat (limited to 'mullvad-cli')
| -rw-r--r-- | mullvad-cli/src/format.rs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mullvad-cli/src/format.rs b/mullvad-cli/src/format.rs index 47c05611b2..808852eb6d 100644 --- a/mullvad-cli/src/format.rs +++ b/mullvad-cli/src/format.rs @@ -109,14 +109,12 @@ fn format_relay_connection(relay_info: &TunnelStateRelayInfo, verbose: bool) -> } else { String::new() }; - let quantum_resistant = if verbose { - if endpoint.quantum_resistant { - "\nQuantum resistant tunnel: true".to_string() - } else { - "\nQuantum resistant tunnel: false".to_string() - } + let quantum_resistant = if !verbose { + "" + } else if endpoint.quantum_resistant { + "\nQuantum resistant tunnel: yes" } else { - String::new() + "\nQuantum resistant tunnel: no" }; let mut bridge_type = String::new(); |
