From 81dcc339e0c26d855ff46ed0e7e9593ce536506b Mon Sep 17 00:00:00 2001 From: Tom Swartz Date: Wed, 9 Oct 2019 10:15:20 -0400 Subject: [PATCH 1/2] Fix typo in completion text --- completions/zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/zsh b/completions/zsh index fbe705bb..a20040d4 100644 --- a/completions/zsh +++ b/completions/zsh @@ -102,7 +102,7 @@ _pacman_opts_common=( '--mflags[Pass arguments to makepkg]:mflags' '--gpgflags[Pass arguments to gpg]:gpgflags' '--sudoloop[Loop sudo calls in the background to avoid timeout]' - '--nosudoloop[Do not loop sudo calls in the backgrount]' + '--nosudoloop[Do not loop sudo calls in the background]' ) # options for passing to _arguments: options for --upgrade commands From 5d7ea17b154fd21fdfd5dfc97ae92758c7125f2c Mon Sep 17 00:00:00 2001 From: Tom Swartz Date: Wed, 9 Oct 2019 10:15:36 -0400 Subject: [PATCH 2/2] Fix typo in comment text --- pkg/types/multierror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/types/multierror.go b/pkg/types/multierror.go index 59d63b7d..5d50b4e3 100644 --- a/pkg/types/multierror.go +++ b/pkg/types/multierror.go @@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) { err.mux.Unlock() } -// Return is used as a wrapper on return on wether to return the +// Return is used as a wrapper on return on whether to return the // MultiError Structure if errors exist or nil instead of delivering an empty structure func (err *MultiError) Return() error { if len(err.Errors) > 0 {