ivpn / desktop-app

Official IVPN Desktop app
https://www.ivpn.net/apps/
GNU General Public License v3.0
322 stars 48 forks source link

(CLI) Add -f short option for `ivpn connect -fastest` #368

Closed naltun closed 2 months ago

naltun commented 2 months ago

PR type

What kind of change does this PR introduce?

This updates ivpn connect flag options.

I exclusively use the CLI to manage my IVPN connection and having the -f would be helpful. I can use this patch to compile locally, but I'm opening this PR in case it is useful.

PR checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

To connect to the fastest server, the -fastest option is required.

Issue number: N/A

What is the new behavior?

Now the -f flag exists.

Here's a small demonstration: image

Does this PR introduce a breaking change?

Other information