From b2b31eed30b45e1760a82c182b9532e14d799834 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Wed, 14 Feb 2024 17:38:26 -0800 Subject: [PATCH] Fix comment typos. --- command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.go b/command.go index 940d565..b1481ea 100644 --- a/command.go +++ b/command.go @@ -97,11 +97,11 @@ func (e *Env) SetContext(ctx context.Context) *Env { // the flag -A. With merging enabled the argument list succeeds, because the // parser "looks ahead", treating it as if the caller had written: // -// one -A 1 -- two -B 2 +// one -A 1 two -B 2 // // Setting the MergeFlags option also applies to all the descendants of e // unless the command's Init callback changes the setting. Note that if a -// subcommand defines a flag with the same name as its ancestor, the ancstor +// subcommand defines a flag with the same name as its ancestor, the ancestor // will shadow the flag for the descendant. func (e *Env) MergeFlags(merge bool) *Env { e.merge = merge; return e }