fix example

This commit is contained in:
Kevin Burke
2017-05-26 11:06:09 -07:00
parent 2b54512628
commit fc8c332031

View File

@@ -21,12 +21,12 @@ You can also load a config file and read values from it.
```go
var config = `
Host test.test
Host *.test
Compression yes
`
cfg, err := ssh_config.Decode(strings.NewReader(config))
fmt.Println(cfg.Get("Port"))
fmt.Println(cfg.Get("example.test", "Port"))
```
Some SSH arguments have default values - for example, the default value for