From c690640e7149e04c269650f43a75925538c8e310 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Tue, 5 May 2020 12:13:58 +1000 Subject: [PATCH] Format file. --- options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.go b/options.go index e210d10..714bbcb 100644 --- a/options.go +++ b/options.go @@ -65,8 +65,8 @@ func NoDefaultHelp() Option { // parsing occurs. // // This is useful for, e.g., adding short options to flags, updating help, etc. -func (k *Kong) PostBuild(fn func(*Kong)error) Option { - return OptionFunc(func (k *Kong) error { +func (k *Kong) PostBuild(fn func(*Kong) error) Option { + return OptionFunc(func(k *Kong) error { k.postBuildOptions = append(k.postBuildOptions, OptionFunc(fn)) return nil })