message format
This commit is contained in:
parent
eca60579ef
commit
5289c14095
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ proc exitSsh(name: string):int = execCmd &"ssh -O exit {name}"
|
||||||
proc up(port: int, host: seq[string]) =
|
proc up(port: int, host: seq[string]) =
|
||||||
## activate a tunnel
|
## activate a tunnel
|
||||||
let name = checkHost host
|
let name = checkHost host
|
||||||
echo "activating connection to", name
|
echo "activating connection to: ", name
|
||||||
if not check(name):
|
if not check(name):
|
||||||
startSsh(name)
|
startSsh(name)
|
||||||
quit activateTunnel(name, port)
|
quit activateTunnel(name, port)
|
||||||
|
@ -23,7 +23,7 @@ proc up(port: int, host: seq[string]) =
|
||||||
proc down(host: seq[string]) =
|
proc down(host: seq[string]) =
|
||||||
## disable all tunnels
|
## disable all tunnels
|
||||||
let name = checkHost host
|
let name = checkHost host
|
||||||
echo "deactivating connection to", name
|
echo "deactivating connection to: ", name
|
||||||
quit exitSsh(name)
|
quit exitSsh(name)
|
||||||
|
|
||||||
proc show() =
|
proc show() =
|
||||||
|
|
Loading…
Reference in a new issue