Skip to content

Commit

Permalink
Add -p short option for ivpn connection -pause
Browse files Browse the repository at this point in the history
  • Loading branch information
naltun committed Oct 7, 2024
1 parent d38cbb6 commit 2388acc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/commands/connection-ctrl.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (c *CmdConnectionControl) Init() {
c.KeepArgsOrderInHelp = true

c.Initialize("connection", "Managing active connection")
c.IntVar(&c.pause, "p", 0, "DURATION", "Temporarily pause the connection for a specified duration\n (DURATION: [1-1440] minutes)")
c.IntVar(&c.pause, "pause", 0, "DURATION", "Temporarily pause the connection for a specified duration\n (DURATION: [1-1440] minutes)")
c.BoolVar(&c.resume, "resume", false, "Resume a paused connection")

Expand Down

0 comments on commit 2388acc

Please sign in to comment.