summaryrefslogtreecommitdiffhomepage
path: root/net/jao-proton-utils.el
diff options
context:
space:
mode:
Diffstat (limited to 'net/jao-proton-utils.el')
-rw-r--r--net/jao-proton-utils.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/jao-proton-utils.el b/net/jao-proton-utils.el
index ca47faa..980a317 100644
--- a/net/jao-proton-utils.el
+++ b/net/jao-proton-utils.el
@@ -61,8 +61,9 @@
(let ((inhibit-read-only t)
(cmd (format "sudo protonvpn %s" things)))
(delete-region (point-min) (point-max))
- (insert cmd " ...")
- (shell-command cmd b))
+ (message "Running: %s ...." cmd)
+ (shell-command cmd b)
+ (message ""))
(proton-vpn-mode)))
(defun proton-vpn-status ()
@@ -72,7 +73,7 @@
(defun proton-vpn-connect (cc)
(interactive "P")
(let ((cc (when cc (read-string "Country code: "))))
- (jao-proton-vpn--do (if cc (format "c -cc %s" cc) "c -sc"))
+ (jao-proton-vpn--do (if cc (format "c --cc %s" cc) "c --sc"))
(proton-vpn-status)))
(defun proton-vpn-disconnect ()