summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-cli/src/cmds')
-rw-r--r--mullvad-cli/src/cmds/api_access.rs6
-rw-r--r--mullvad-cli/src/cmds/import_settings.rs4
2 files changed, 6 insertions, 4 deletions
diff --git a/mullvad-cli/src/cmds/api_access.rs b/mullvad-cli/src/cmds/api_access.rs
index 887d378fa4..8883ea516b 100644
--- a/mullvad-cli/src/cmds/api_access.rs
+++ b/mullvad-cli/src/cmds/api_access.rs
@@ -26,9 +26,11 @@ pub enum ApiAccess {
Enable(SelectItem),
/// Disable an API access method
Disable(SelectItem),
- /// Try to use a specific API access method (If the API is unreachable, reverts back to the previous access method)
+ /// Try to use a specific API access method (If the API is unreachable, reverts back to the
+ /// previous access method)
///
- /// Selecting "Direct" will connect to the Mullvad API without going through any proxy. This connection use https and is therefore encrypted.
+ /// Selecting "Direct" will connect to the Mullvad API without going through any proxy. This
+ /// connection use https and is therefore encrypted.
///
/// Selecting "Mullvad Bridges" respects your current bridge settings
Use(SelectItem),
diff --git a/mullvad-cli/src/cmds/import_settings.rs b/mullvad-cli/src/cmds/import_settings.rs
index a354eb4b95..a89c6814c3 100644
--- a/mullvad-cli/src/cmds/import_settings.rs
+++ b/mullvad-cli/src/cmds/import_settings.rs
@@ -9,8 +9,8 @@ use std::{
/// Maximum size of a settings patch. Bigger files/streams cause the read to fail.
const MAX_PATCH_BYTES: usize = 10 * 1024;
-/// If source is specified, read from the provided file and send it as a settings patch to the daemon.
-/// Otherwise, read the patch from standard input.
+/// If source is specified, read from the provided file and send it as a settings patch to the
+/// daemon. Otherwise, read the patch from standard input.
pub async fn handle(source: String) -> Result<()> {
let json_blob = tokio::task::spawn_blocking(|| get_blob(source))
.await