This commit is contained in:
Gerasimos Maropoulos 2016-08-23 20:41:12 +03:00
parent 2d067ac081
commit d03c9ad231
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
language: go
go:
- go1.6
- go1.7
- tip

View File

@ -30,7 +30,7 @@ Ideally suited for both experienced and novice Developers. <br/>
Installation
------------
The only requirement is the [Go Programming Language](https://golang.org/dl), at least v1.6
The only requirement is the [Go Programming Language](https://golang.org/dl), at least v1.7
```bash
$ go get -u github.com/kataras/iris/iris

6
ssh.go
View File

@ -222,10 +222,10 @@ var (
COMMANDS:
{{ range $index, $cmd := .Commands }}
{{- $cmd.Name }} - {{ $cmd.Description }}
{{- $cmd.Name }} | {{ $cmd.Description }}
{{ end }}
USAGE:
ssh myusername@{{ .Hostname}} -p {{ .Port }} {{ first .Commands}}
ssh myusername@{{ .Hostname}} {{ .PortDeclaration }} {{ first .Commands}}
or just write the command below
VERSION:
{{ .Version }}
@ -482,7 +482,7 @@ func (s *SSHServer) writeHelp(wr io.Writer) {
hostname := parseHostname(s.Host)
data := map[string]interface{}{
"Hostname": hostname, "Port": port,
"Hostname": hostname, "PortDeclaration": "-p " + strconv.Itoa(port),
"Commands": append(s.Commands, standardCommands...),
"Version": Version,
}