diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2019-09-10 12:20:30 -0400 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2019-09-10 12:20:30 -0400 |
commit | a6a158a8a2472356983716e8af525c72d2a27f71 (patch) | |
tree | 8f2a9c7991735f428fff35650d5be87bba51b0a3 /_posts/2019-08-02-program-structure-and-composability.md | |
parent | 0b9543c6cd6e7f65317284e759bb3df93c84c8d7 (diff) |
fix another small typo in program structure post
Diffstat (limited to '_posts/2019-08-02-program-structure-and-composability.md')
-rw-r--r-- | _posts/2019-08-02-program-structure-and-composability.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2019-08-02-program-structure-and-composability.md b/_posts/2019-08-02-program-structure-and-composability.md index 3f8281a..41facc0 100644 --- a/_posts/2019-08-02-program-structure-and-composability.md +++ b/_posts/2019-08-02-program-structure-and-composability.md @@ -499,7 +499,7 @@ func InstConn(cmp *mcmp.Component, defaultAddr string) *RedisConn { // has been initialized yet. They will remain empty until initialization has // occurred. redisConn := new(RedisConn) - addrParam := mcfg.String(cmp, "-addr", defaultAddr, "Address of redis instance to connect to") + addrParam := mcfg.String(cmp, "addr", defaultAddr, "Address of redis instance to connect to") mrun.InitHook(cmp, func() { // This hook will run after parameter initialization has happened, and |