From b9f1cd5c422fe1f544411503473d0e058ddd3f27 Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Mon, 27 Feb 2017 14:17:30 +0500 Subject: [PATCH] Add dots in the end of docs --- command.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command.go b/command.go index 5c1c3a09..131b78e8 100644 --- a/command.go +++ b/command.go @@ -155,12 +155,12 @@ func (c *Command) SetUsageTemplate(s string) { } // SetFlagErrorFunc sets a function to generate an error when flag parsing -// fails +// fails. func (c *Command) SetFlagErrorFunc(f func(*Command, error) error) { c.flagErrorFunc = f } -// SetHelpFunc sets help function. Can be defined by Application +// SetHelpFunc sets help function. Can be defined by Application. func (c *Command) SetHelpFunc(f func(*Command, []string)) { c.helpFunc = f } @@ -187,7 +187,7 @@ func (c *Command) SetGlobalNormalizationFunc(n func(f *flag.FlagSet, name string } } -// OutOrStdout returns output to stdout +// OutOrStdout returns output to stdout. func (c *Command) OutOrStdout() io.Writer { return c.getOut(os.Stdout) }