From fc8c3320314f3749d0758c539507548d55c99f67 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Fri, 26 May 2017 11:06:09 -0700 Subject: [PATCH] fix example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f9501b2..52cc1ea 100644 --- a/README.md +++ b/README.md @@ -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