Parcourir la source

Merge pull request #1052 from tomswartz07/master

Fix Typos
Anna il y a 5 ans
Parent
commit
3579d3521a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      completions/zsh
  2. 1 1
      pkg/types/multierror.go

+ 1 - 1
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

+ 1 - 1
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 {